jacksonllee / pycantonese

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

Can't distinguish high falling tone from high level tone #23

Closed LawranceFung closed 3 years ago

LawranceFung commented 3 years ago

Officially, Yale romanization should distinguish high level tone ā from high falling tone à (jyutping doesn't). Would it be possible to make pycantonese do that?

jacksonllee commented 3 years ago

Hello, as of pycantonese v3.0.0, the only spot where Yale romanization appears in pycantonese is the jyutping_to_yale function. Since (as you've pointed out) jyutping itself doesn't distinguish high-level tone and high-falling tone, the jyutping_to_yale function cannot make this distinction.

Let me know if you have other questions!