如何创建类似 Google 的单词建议

发布于 2024-08-10 09:49:24 字数 86 浏览 3 评论 0原文

如何在搜索引擎中创建一个单词建议系统,例如 Google 的“您的意思是……”?

最好采用向量空间模型方法。我用谷歌搜索过但没有找到解决方案。

How do I make a word suggestion system in search engine like Google's "did you mean ... " ?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

森林散布 2024-08-17 09:49:24

请查看 Peter Norvig(Google 研究总监)的示例

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

英雄似剑 2024-08-17 09:49:24

Lucene 搜索引擎 有“你是说吗”支持,而且它是开源的,所以你可以拿代码看看它是如何实现的有效或在您的项目中重用它。实际上,可能值得使用整个引擎,而不是通过从头开始创建新的搜索引擎来重新发明轮子。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文