Reputation: 447
this is my first question here, please don't be cruel :).
I am creating dictionary application for Android. I have source dictionary (LMF) which contains data including pronunciation. For example I have
word: "transcription"
phoneticForm: "trHn'skrIpSEn"
My question is: How do I get something like this "trænˈskrɪpʃ(ə)n"? Is there any library for transcription?
Thank you for any response which can guide me.
Upvotes: 0
Views: 1630
Reputation: 2493
Are you looking for something to translate X-SAMPA (which phoneticForm looks like) to IPA? If so, this page has code for doing so in several programming languages. Unfortunately none of them are Java, but if you know one of Perl, Python, C++ or Lisp you may be able to adapt that code into Java.
Upvotes: 1