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

Converting "born" from IPA to espeak is causing a mispronunciation. #7

Open
mmoody-vv opened this issue Feb 28, 2024 · 0 comments
Open

Comments

@mmoody-vv
Copy link

If you convert "born" in ipa (bˈɔːɹn) to espeak, the result is [[b'O:r3:n]], which is pronounced "boren". The issues appears to be the code to add an implicit vowel before NL, which drops the added vowel if the next letter is a consonant or a syllable separator, but not if it's the end of the word.

Adding this line of code after line 2859 fixes this specific problem, but I'm not sure if it opens up other cans of worms:
if ret[-2].endswith(maybe_bytes('*added',ret[-2])): del ret[-2]

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

No branches or pull requests

1 participant