Reference

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
Stringword1
Stringword2
boolean(optional, only in Java) noLTS: if set to true the process will not use LTS (letter-to-sound rules), default=false
Returns
booleantrue if the two words rhyme, else false.
Syntax
RiTa.isRhyme(word1, word2)
RiTa.isRhyme(word1, word2, noLTS);
Platform Java / JavaScript