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 |
String | the text to analyze |
---|
Object (or Map in Java) | options (optional)
{boolean} options.simple: use simple tags or not, default=false
{boolean} options.silent: if true, will not output logs to console when running (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] |
---|
|
Related |
RiTa.phones(), RiTa.pos() |
Note |
tmp_note |
Syntax |
RiTa.analyze(string); RiTa.analyze(string, options);
|
Constants |
RiTa.phones(), RiTa.pos()Constants
|
Platform |
Java / JavaScript |
|
|