Open emo-eth opened 6 years ago
Would this feature include the mapping of unvoiced and voiced consonant endings? For example, the 'd' in mud would have an unvoiced partner of 't' resulting in a match between ǓD and
ǓT (i.e. ph.get_family_rhymes('mud')
containing cut, glut, hut, shut, rut
)
Would this feature include the mapping of unvoiced and voiced consonant endings? For example, the 'd' in mud would have an unvoiced partner of 't' resulting in a match between ǓD and ǓT (i.e.
ph.get_family_rhymes('mud')
containingcut, glut, hut, shut, rut
)
Almost, the naming has been hard to make clear. get_family_rhymes includes rhymes with consonants of the same type (plosives) but the same voicing (voiced or unvoiced).
So ph.get_family_rhymes('mud')
would include, eg, rub, plug
(assuming the CMU pronunciation dictionary considers those vowels the same, which is something I've been meaning to work on).
The method you're looking for is ph.get_parter_rhymes('mud')
which includes both the voiced and unvoiced version of that particular consonant type.
Ah i see! Nice, thanks!
Get rhymes with similar vowels with end consonants in the same family