Reference

Class

RiTa

Name

RiTa.addWord

Description Adds a word to the current lexicon. Note: will replace the word if it already exists
Syntax
RiTa.addWord(word, pronunciationData, posData);
Parameters
Stringword
StringpronunciationData
StringposData
Returns
void
Example
lexicon.addWord("abandon","ax-b ae1-n-d ax-n","vb nn vbp");
Platform Java / Javascript