从输入中获取流行或相关的单词用作标签
我们都知道 SO 上的标签是如何工作的。我们发布帖子,为其添加标签,它有助于搜索并用于大众分类法。
这就是我想做的。我可以以某种方式从帖子中获取相关单词用作标签,而不是强迫人们标记帖子。
除了获取重复单词之外,是否有一种方法可以从帖子中获取相关单词?也许有一个语言解析器可以检测重要的单词?
请给我你自己的想法。它不必遵循我的想法。 谢谢。
We all know how tagging on SO works. We make a post, tag it and it helps in searches and is used in folksonomy.
this is what I want to do. Instead of forcing people to tag posts, I can somehow fetch relevant words from the post to use as tags.
Apart from say, fetching repeating words, is there a method of getting words of relevance from a post? Maybe a language parser which can detect words of import?
Please give me your own ideas. It doesn't have to be along the lines I am thinking.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
制作一个表格来查找您的关键字。然后根据您的列表搜索文本条目以查找命中。
由于您可能希望即时生成标签,因此您需要大量单词列表。这些很容易找到(搜索“单词列表”)。然后你可以删除不感兴趣的单词,甚至可以根据相关性对它们进行排名。
Make a table that is a look-up for your keywords. Then search the text entries against your list for hits.
Since you presumably want your tags generated on-the-fly, you would need a large list of words. Those are easy to find (search on "word list"). Then you can delete words of little interest, or even rank them according to relevance.