Reference

Class

RiTa

Name

analyze

Description Computes a set of features for the object, including phonemes, syllables, stresses, and part-of-speech
Example
result = RiTa.analyze(theText);
Parameters
Stringthe text to analyze
Object
(or Map in Java)
options (optional)

{boolean} options.simple:
use simple tags or not, default=false

{boolean} options.silent:
silent LTS or not (only in JavaScript, default=false)

{boolean} options.inline:
inline tags or not (only in JavaScript, default=false)
Returns
Object
(or Map in Java)
keys are [ phones, stresses, syllables, pos, tokens]
Syntax
RiTa.analyze(string);
RiTa.analyze(string, options);
Platform Java / JavaScript