jacksonllee / pycantonese

Cantonese Linguistics and NLP
https://pycantonese.org
MIT License
354 stars 38 forks source link

Jyutping codas {i,u} and Yale "h" for low tones #7

Closed jacksonllee closed 8 years ago

jacksonllee commented 8 years ago

Jyutping codas {i,u} with low tones aren't handled correctly in Jyutping-to-Yale conversion, specifically for the position of "h" signaling a low tone in Yale. Currently:

>>> import pycantonese as pc
>>> pc.yale("caau4")
['chàahu'] # incorrect -- should be ['chàauh'] instead