javascript - js gets the first letter of pinyin of Chinese characters
淡淡烟草味
淡淡烟草味 2017-05-19 10:46:32
0
3
872

I am making a plug-in with a search function, and now I want to add some functions. For example: if you input the English letter b, you can also match Chinese characters whose pinyin begins with b. Please tell me how to achieve this. There should be a library for Chinese pinyin comparison or something

淡淡烟草味
淡淡烟草味

reply all(3)
伊谢尔伦

It’s easy to do it with a matching library

Ty80

Backend implementation: http://blog.sina.com.cn/s/blo...
Frontend implementation: https://github.com/liuxianan/...

过去多啦不再A梦

Find a third-party Chinese pinyin matching library.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template