Stackoverflow 的相关问题 [英] Stackoverflow's Related Questions

查看:18
本文介绍了Stackoverflow 的相关问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是想知道您将如何实施类似于 stackoverflow 相关问题的内容.您是简单地匹配标签、匹配标题中的相似词还是整个问题中的词?

Just wondering how you would go about implementing something similar to stackoverflow'd related questions. Would you simply match the tags, match similar words in the titles, or words in the entire question?

对 linqtosql 方法特别感兴趣.

Particular interested in a linqtosql method.

干杯!

推荐答案

在 Stackoverflow 的 Podcast 32杰夫阿特伍德讨论了相关问题"如何解决功能作品.我建议听听它的更多细节,但基本上他说这是比较问题标签、问题标题和问题文本的组合.

In Stackoverflow's Podcast 32 Jeff Atwood discusses how "related questions" feature works. I would suggest listening to it for more detail but basically he says that it is a combination of comparing question tags, question title and the question text.

但是,他获取了所有问题的文本并删除了前 10,000 个最常见的英语单词.剩下的基本上是与该问题相关的唯一词,删除了所有填充英语.

However, he takes all the question's text and removes the top 10,000 most common English words. What is left are basically unique words related to that question with all the filler-english removed.

所以虽然我没有给你的 linq-to-sql 信息,但希望这能让你走上正轨.

So while I don't have linq-to-sql information for you, hopefully this can get you on the right track.

这篇关于Stackoverflow 的相关问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆