开发者

How to create Google like word suggestion

开发者 https://www.devze.com 2022-12-10 17:35 出处:网络
How do I make a word suggestion system in sear开发者_如何学JAVAch engine like Google\'s \"did you mean ... \" ?

How do I make a word suggestion system in sear开发者_如何学JAVAch engine like Google's "did you mean ... " ?

Preferably using the vector space model method. I have googled it but didn't find a solution.


Have a look at the example from Peter Norvig (Director of Research at Google).


The Lucene search engine has "did you mean" support, and it's open source, so you can take the code and see how it works or reuse it in your project. Actually, it's probably worth using the entire engine instead of reinventing the wheel by creating a new search engine from scratch.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号