Class |
RiTa
|
Name |
isRhyme
|
Description |
Returns true if the two words rhyme, that is, if their final stressed vowel phoneme and all following phonemes are identical, else false.
Note: returns false if word1.equals(word2) or if either (or both) are null;
|
Example |
RiTa.isRhyme("cat","mat");
|
Parameters |
String | word1 |
---|
String | word2 |
---|
boolean | (optional, only in Java) noLTS: if set to true the process will not use LTS (letter-to-sound rules), default=false |
---|
|
Returns |
boolean | true if the two words rhyme, else false. |
---|
|
Related |
tmp_related |
Note |
tmp_note |
Syntax |
RiTa.isRhyme(word1, word2) RiTa.isRhyme(word1, word2, noLTS);
|
Constants |
tmp_relatedConstants
|
Platform |
Java / JavaScript |
|
|