You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although "n" is the correct pinyin for "嗯", I think people are used to typing "en" in pinyin input method. There is another similar situation for "呣", see this issue for reference.
I checked the zhwiki-20200801.dict.yaml file, it only involves two words, "呒染挖啊嗯啊" and "嗯哈哈乐团", so it is not a big deal.
Maybe this following codes will help:
# convert.py# to replace line 64pinyin_with_n_m=lazy_pinyin(title)
fix_dic= {'n':'en','m':'mu'}
pinyin_fixed= [ fix_dic[i] ifiinfix_dicelseiforiinpinyin_with_n_m ]
pinyin=_PINYIN_SEPARATOR.join(pinyin_fixed)
Thank you for the excellent dictionary, it helps me a lot.
The text was updated successfully, but these errors were encountered:
Although "n" is the correct pinyin for "嗯", I think people are used to typing "en" in pinyin input method. There is another similar situation for "呣", see this issue for reference.
I checked the
zhwiki-20200801.dict.yaml
file, it only involves two words, "呒染挖啊嗯啊" and "嗯哈哈乐团", so it is not a big deal.Maybe this following codes will help:
Thank you for the excellent dictionary, it helps me a lot.
The text was updated successfully, but these errors were encountered: