mozillazg / go-pinyin

汉字转拼音
https://godoc.org/github.com/mozillazg/go-pinyin
MIT License
1.6k stars 194 forks source link

能否支持自定义词库 #53

Closed dxz935 closed 3 years ago

dxz935 commented 3 years ago

能否支持更改字库,可以传入自己的map[int][string]

mozillazg commented 3 years ago

详见:https://github.com/mozillazg/go-pinyin/pull/54#issuecomment-840604222