Text

Answered

About Speech-to-Text

I'm using the WebSockets API.

Suppose I use Google cloud's Speech-to-Text to make a voice using a microphone, which the device recognizes and converts to text.

Is it possible to convert this to myscript text?

In other words, is it possible to replace the part that is originally recognized by handwriting with the text that is recognized by voice? I want to say that.

It may not convey what I mean.


Best Answer

Dear John,


thank you for contacting us and your question.


You can indeed add text that you would have gotten from a speech to text library ; this can be done using the "import" function of the editor: https://developer.myscript.com/docs/interactive-ink/1.4/web/iinkjs/import-and-export/#importing-content


An example with code sample can be found:

-https://myscript.github.io/MyScriptJS/examples/v4/import_content.html

-https://github.com/MyScript/iinkJS/blob/master/examples/v4/import_content.html


Best regards,


Olivier



Answer

Dear John,


thank you for contacting us and your question.


You can indeed add text that you would have gotten from a speech to text library ; this can be done using the "import" function of the editor: https://developer.myscript.com/docs/interactive-ink/1.4/web/iinkjs/import-and-export/#importing-content


An example with code sample can be found:

-https://myscript.github.io/MyScriptJS/examples/v4/import_content.html

-https://github.com/MyScript/iinkJS/blob/master/examples/v4/import_content.html


Best regards,


Olivier


Thank you for your reply.