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', 'ɚ']
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 runninglang="en-us"
. Is there a way to enable eSpeak withen-gb
?To reproduce, run:
Results:
Expected Results: