I am already using azure speech to text services, created custom endpoint id using custom speech. Currently using that endpoint in my code.
var config = SpeechSDK.SpeechConfig.fromSubscription(“YourSubscriptionKey”, “YourServiceRegion”);
config.endpointId = “YourEndpointId”;
var reco = new SpeechSDK.SpeechRecognizer(config);
Next, I’ve developed a Word plugin that successfully converts speech to text in Microsoft Word.
Now, I am looking to expand this functionality to create a cross-platform application or plugin that enables speech-to-text functionality for any document, regardless of the application (e.g., Word, Notepad, third-party apps).
I have referred below article as a reference and created a word plug in using JavaScript and created respective manifest.xml file and able to run in visual studio code with my speech to text code.
https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/tutorials/word-tutorial
my queries:
- How can I develop a universal solution that works across different applications and environments?
- Are there specific APIs or libraries that facilitate this kind of interaction with various text editors?
- What considerations should I keep in mind regarding permissions and security when accessing other applications?
not only javascript, I am looking for solution in react.js also.
Any guidance or references to similar projects would be greatly appreciated!
Ajju Dev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.