Is there a library or web service that can tell you the pronunciation of a string? I'm thinking of character-based languages, where the pronunciation of the word is not apparent from how it's written.
Asked
Active
Viewed 2,802 times
6
-
Wiktionary! Just kidding... only sort of. Lots of words have IPA pronunciations documented, it would just be a matter of parsing them accurately and hoping someone didn't substitute in a curse word when your user looks up a pronunciation. – cdhowie Nov 11 '10 at 01:40
3 Answers
6
Check out the Wordnik API:
Free API key will get pronunciations, definitions, and a whole lot more. Easy to use, and the API documentation site is interactive and lets you get your feet wet quickly. Lots of wrappers in various languages.
Disclosure: I work there and love it.

mrjf
- 1,117
- 1
- 12
- 22
-
but it doesn't return a unicode, it returns a text-to-speech notation, people can't read it – Toolkit Oct 14 '15 at 03:02