com.sun.speech.freetts.lexicon
public interface LetterToSound
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getPhones(java.lang.String word,
java.lang.String partOfSpeech)
Calculate the phone list for a given word.
|
java.lang.String[] getPhones(java.lang.String word, java.lang.String partOfSpeech)
null
is returned. The phone
list is implementation dependent. The format of the
partOfSpeech
is also implementation. If the
partOfSpeech
does not matter, pass in null
.word
- the word to get the phone list forpartOfSpeech
- the part of speech or null
null