There is an issue when we convert r\ from sampa to ipa. I'd expect it to be ɹ, but we get ɰ̩ instead.
The issues is that when we construct SAMPA_TO_IPA dictionary, we reverse the IPA_TO_SAMPA one, but we have r\ as a value twice in it, so it get's rewritten.
There is an issue when we convert
r\
from sampa to ipa. I'd expect it to be ɹ, but we get ɰ̩ instead. The issues is that when we constructSAMPA_TO_IPA
dictionary, we reverse theIPA_TO_SAMPA
one, but we haver\
as a value twice in it, so it get's rewritten.https://github.com/rhasspy/gruut-ipa/blob/480e284d6c9602f9f0025559d9528de9ba6353ad/gruut_ipa/sampa.py#L194