如何从长搜索字符串中查找趋势标签
我希望根据用户的搜索在我的网站上添加趋势标签。我没有看到简单解决方案的问题是如何轻松地从搜索字符串中提取重要术语。例如,许多用户可能出于不同目的搜索“Visual Studio”。例如,“Visual Studio 2010”、“Visual Studio 单元测试”、“Visual Studio Web 表单组件”。在这 3 个搜索中,“视觉工作室”是热门搜索。算法如何注意到“Visual Studio”在大多数情况下会与许多其他单词混合在一起?
谢谢你!
I would like to have a trending tags in my website according to searches users made. The problem I'm not seeing an simple solution for is how to easily extract the important terms out of a search string. For example, many users might search for "visual studio" with different purposes. For example, "visual studio 2010", "visual studio unit testing", "visual studio web forms components". In those 3 searches, "visual studio" is trending. How can an algorithm notice that since "visual studio" in most cases will be mixed with many other words?
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
具有较高值的单词对是您的“趋势标签”。
The wordpairs with the higher values are your "trending tags".
看看这个 codeplex 项目
http://www.codeplex.com/TheTagCloud
包括您可以将 html 文件作为输入传递给该函数,并将返回标签云。
Have a look on this codeplex project
http://www.codeplex.com/TheTagCloud
Includes a function that you can pass an html file to as input and will return a tag cloud.