Joll59 / d-ser-t

d-ser-t quantifies speech recognition accuracy of the MSFT speech service and/or user created MSFT custom speech service models.
2 stars 2 forks source link

Create an interface to work with any number of file types. #80

Open KatieProchilo opened 5 years ago

KatieProchilo commented 5 years ago

With the intro of #77, d-ser-t now supports outputting JSON or XML. XmlWriterService closely mirrors TranscriptionFileService, and is called in the same way as well.

As a design enhancement, we should create an interface to be used by this.localFileService in main.ts. The interface and design of these two files should work in a way that calling a single function will correctly route the work to either the XML or JSON writer.