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
It’s easy to do it with a matching library
Backend implementation: http://blog.sina.com.cn/s/blo...
Frontend implementation: https://github.com/liuxianan/...
Find a third-party Chinese pinyin matching library.