/pinyin_split

JavaScript,对网页输入的汉语拼音(英文字母)进行切分,如果包含歧义则提示。

Primary LanguageHTML

pinyin_split

项目说明

实时对从网页输入的汉语拼音(英文字母格式)进行切分,允许手动切分,如果包含歧义则提示。如'xian'可以是['xian']或者['xi', 'an']。默认取较长结果,这取决于文件中dict_pinyin的排序。 项目是使用原生JavaScript语言编写的静态网页,无需后端,效率高。

在线演示demo

https://pinyinsplit.boyinthesun.cn

English Document

Sorry, there's NO English document because this code is only for chinese. Thanks.