|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wcb.plugins.speech.Translator
This class does holds some very simple rules on taking a text and formating it into an allophone. The concatination of the sounds creates the words that are heard and understood. For more details on this read the java world article http://www.javaworld.com/javaworld/jw-08-2001/jw-0817-javatalk_p.html
Constructor Summary | |
Translator()
Deprecated. |
Method Summary | |
java.lang.String |
getPhoneWord(java.lang.String words)
Get the phoneme of the word |
java.util.Vector |
getWords(java.lang.String words)
Get the words by parsing the string pipe |
static void |
main(java.lang.String[] args)
Main method to access this class from the command line |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Translator()
Method Detail |
public static void main(java.lang.String[] args)
args
- string of words to translatepublic java.util.Vector getWords(java.lang.String words)
words
- The string of words with pipes separated
public java.lang.String getPhoneWord(java.lang.String words)
words
- The word to determin the phonem rules
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |