Reference

Class

RiTa

Name

RiTa.lexicalData

Description Allows one to set/get the raw dictionary data used to create the default lexicon.

See RiTa.addWord() for data format
Syntax
lexicalData();
lexicalData(dictionaryDataObject);
Parameters
MapOptional: a map (HashMap in Java, Object in JavaScript) that maps words to their pronunciation and part-of-speech data
Returns
void or Maplexical data map (for gets)
Example
RiTa.lexicalData(theLexiconObject);
  OR
result = RiTa.lexicalData();
Platform Java / Javascript