mozillazg / rust-pinyin

汉字转拼音
https://docs.rs/pinyin/
MIT License
203 stars 24 forks source link

Wrong pinyin for some words with different pronunciations like 睡覺 #67

Open kahnclusions opened 2 months ago

kahnclusions commented 2 months ago

I would expect 睡覺 or 睡觉 to become shuì jiào but instead it becomes shuì jué.

silverjam commented 2 months ago

I am seeing 漂亮 becoming piāoliàng -- not sure why though.