Reference

Class

RiTa

Name

stresses

Description Analyzes the input and returns a new string containing the stresses for each syllable of the input text
Example
RiTa.stresses("apple"); // returns -> 1/0
Parameters
Stringtext to analyze
Returns
Stringe.g., '1/0/1', with 1's meaning 'stressed', and 0's meaning 'unstressed',
Syntax
RiTa.stresses(word);
Platform Java / JavaScript