Reputation: 304
Can I use CMUSphinx4 to decode a particular speech into phonemes and get those phonemes into further implementations?
Upvotes: 1
Views: 1560
Reputation: 43
If you're using sphinx4 (beta 6), there is a method within the framework called getBestPronunciationResult()
"The method is used when the application wants the phonemes on the best final path. Note that words may have more than one pronunciation, so this is not equivalent to the word path e.g. one[HH,W,AH,N] to[T,UW] three[TH,R,IY]
Returns: the String of words and associated phonemes on the best path"
Location: src/sphinx4/edu/cmu/sphinx/result/Result.java
Token.java is the class which does the actual work.
Hope this helps.
Upvotes: 3
Reputation:
Found this sample code that would take in a recognition result object and dump the phonemes :http://cmusphinx.sourceforge.net/wiki/sphinx4:unittimestamps
I found this paper to be very useful in understanding Sphinx4 : http://cmusphinx.sourceforge.net/sphinx4/doc/Sphinx4Whitepaper.pdf
Once I understood the architecture, I went through the list of packages found on the javadoc page.
Hope that helps. Good luck !
Upvotes: 1