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

British (en-gb) Phonemes w/ eSpeak #29

Open
automationist opened this issue Feb 21, 2022 · 3 comments
Open

British (en-gb) Phonemes w/ eSpeak #29

automationist opened this issue Feb 21, 2022 · 3 comments

Comments

@automationist
Copy link

eSpeak supports British, so I should be able to run gruut.sentences(text, lang="en-gb", espeak=True), but the results are the same as running lang="en-us". Is there a way to enable eSpeak with en-gb?

To reproduce, run:

for sentence in gruut.sentences("runner", lang="en-gb", espeak=True):
    print(sentence.words[0].phonemes)

for sentence in gruut.sentences("runner", lang="en-us", espeak=True):
    print(sentence.words[0].phonemes)

Results:

['ɹ', 'ˈʌ', 'n', 'ɚ']
['ɹ', 'ˈʌ', 'n', 'ɚ']

Expected Results:

['ɹ', 'ˈʌ', 'n', 'ə']  # notice the last phoneme is different
['ɹ', 'ˈʌ', 'n', 'ɚ']
@edmundman
Copy link

Bump

@liaeh
Copy link

liaeh commented Dec 5, 2022

I would also be interested in why en-gb support was removed. In older versions, were the en-us and en-gb settings using the same lexicon?
Thanks!

@tylerweitzman
Copy link

+1

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

4 participants