-1

eSpeak implements SSML parsing. SpeechSynthesisUtterance, at least as implemented at *nix, does not parse SSML input at Chromium or Firefox browsers.

How to identify and extract the relevant portions of eSpeak for the purpose of including the code at Web Speech API implementations at modern browsers to be able to parse SSML input without an extension or third party web service?


If there are any issues with the question, do advise how to improve the inquiry instead of casting downvote of question without providing reasons therefore.

33
  • Seems you need an SSML parser in Javascript. How about this one? npmjs.com/package/ssml Commented Dec 23, 2017 at 17:13
  • @RobertHarvey The issue is not how to produce valid SSML, but how to implement parsing of SSML by SpeechSynthesisUtterance. We could use meSpeak -m option, though an error occurred when trying and the gist of the inquiry is to get this implemented at browsers source code. Commented Dec 23, 2017 at 17:15
  • Seems that most Google Searches for SSML Parser actually turn up SSML generators. Wonder why that is. Commented Dec 23, 2017 at 17:17
  • SSML is just a flavor of XML. Couldn't you use an ordinary XML parser? Commented Dec 23, 2017 at 17:18
  • 1
    en.wikipedia.org/wiki/Grok Commented Dec 23, 2017 at 17:49

1 Answer 1

1

For posterity, the following are several links to SSML parser's composed in different coding languages

The solution is to do the knowledge for self. Use the language that you are currently most familiar with to parse the SSML according to the specification, one element at a time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.