Class |
RiTa
|
Name |
phones
|
Description |
Returns a string containing all Penn phonemes for the input text |
Example |
RiTa.phones("apple"); // returns -> ae-p-ah-l
RiTa.phones("two apples"); // returns -> t-uw ae-p-ah-l-z
|
Parameters |
String | text to analyze |
---|
Object (or Map in Java) | options (optional), please see analyze() for more details. |
---|
|
Returns |
String | e.g., 'ae-n eh-l-ax-f-ax-n-t ih-z ey m-ae-m-ax-l' (for 'An elephant is a mammal') |
---|
|
Related |
RiTa.analyze() RiTa.PHONES: Array of all phonemes used |
Note |
tmp_note |
Syntax |
RiTa.phones(wordStr); RiTa.phones(wordStr, options);
|
Constants |
RiTa.analyze() RiTa.PHONES: Array of all phonemes usedConstants
|
Platform |
Java / JavaScript |
|
|