开发者

How to extract a key from a "search query"?

开发者 https://www.devze.com 2023-03-22 08:10 出处:网络
I need to extract the keywords of a search query. For example, suppose one searches for \"latest popular Nokia phones\". I want to extract the keywords of this phrase. Are there any libraries written

I need to extract the keywords of a search query. For example, suppose one searches for "latest popular Nokia phones". I want to extract the keywords of this phrase. Are there any libraries written in Java to开发者_运维百科 get this done?


AFAIK the Apache Lucene is doing such a thing (removing words like a, an, the and so one). It provides also a Java-based indexing and search implementation, as well as spellchecking, hit highlighting and advanced analysis/tokenization capabilities and much more.

0

精彩评论

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

关注公众号