dmort27 / epitran

A tool for transcribing orthographic text as IPA (International Phonetic Alphabet)
MIT License
649 stars 123 forks source link

Incorrect transliteration of Yoruba /j/ #22

Closed jkunimune closed 5 years ago

jkunimune commented 5 years ago

It seems that Yoruba, which uses ⟨y⟩ for the approximant /j/, is being incorrectly transcribed such that ⟨y⟩ becomes the vowel /y/.

>>> import epitran
>>> translator = epitran.Epitran('yor-Latn')
>>> translator.transliterate('Yorùbá') # expected output: 'jōrùbá'
'yorùbá'
dmort27 commented 5 years ago

Thanks for this bug report. The problem is now corrected in the repo and will be fixed in the next release on PyPI.