pinyin
pinyin copied to clipboard
report some bugs
py("超市商城", dic = pydic(method = "toneless", dic = "pinyin"))
# 超市商城
# "chao_fu_shang_cheng"
py("银行", dic = pydic(method = "toneless", multi = FALSE, dic = "pinyin"))
# 银行
#"yin_xing/hang/hang/heng"
py("银行", dic = pydic(method = "toneless", multi = TRUE, dic = "pinyin"))
# 银行
#"yin_xing/hang/hang/heng"
py("公园", dic = pydic(method = "toneless", dic = "pinyin"))
# 公园
#"gong_wan"
"pinyin2" does not have these bugs, indicating it is better than "pinyin". You can consider setting "pinyin2" as the default dictionary.
Right. Thanks!
"pinyin2" does not have these bugs, indicating it is better than "pinyin". You can consider setting "pinyin2" as the default dictionary.
If there are so many errors in dictionary "pinyin", why not use "pinyin2" as default in CRAN.