Home  >  Article  >  Backend Development  >  …小弟我想实现搜索拼音分词

…小弟我想实现搜索拼音分词

WBOY
WBOYOriginal
2016-06-13 13:30:16973browse

……我想实现搜索拼音分词
我想实现搜索拼音分词功能,

就是像baidu一样,搜 liudehua就可以出来 刘德华 一样

可以提供一下思路吗??

------解决方案--------------------
这个工程量大了
------解决方案--------------------
好像有点复杂,需要一个拼音分词表的词典。
可以找一些分词功能代码进行修改,改进成适合你自己的,代码参考:
http://down.51cto.com/data/66463
------解决方案--------------------
多少个关键字,最长的多长啊
------解决方案--------------------

探讨

讲一下思路嘛
引用:

这个工程量大了
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn