Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vowel-partner consonant family rhymes #11

Open
emo-eth opened this issue Feb 13, 2018 · 3 comments
Open

Vowel-partner consonant family rhymes #11

emo-eth opened this issue Feb 13, 2018 · 3 comments
Labels

Comments

@emo-eth
Copy link
Owner

emo-eth commented Feb 13, 2018

Get rhymes with similar vowels with end consonants in the same family

@tomekr
Copy link

tomekr commented Nov 5, 2019

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)

@emo-eth
Copy link
Owner Author

emo-eth commented Nov 5, 2019

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)

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.

@tomekr
Copy link

tomekr commented Nov 5, 2019

Ah i see! Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants