从文章中提取相关关键字/标签的java工具

发布于 2024-12-18 14:46:09 字数 77 浏览 2 评论 0原文

我正在寻找基于java的工具来从给定的文章中提取相关标签。 我需要一个工具,基本上可以尝试识别给定文章相关的主要主题和术语。 谢谢你的帮助。

I'm looking for java based tools for extracting relevant tags from a given article.
I need a tool that will basically try and identify what are the main subjects and terms a given article is related to.
Thanks for helping.

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

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

发布评论

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

评论(2

情徒 2024-12-25 14:46:09

检查以下关键词/主题提取软件/工具:

  • Kea - 关键词提取
  • Tmt - 斯坦福主题检测工具包(与 Excel 集成,用 Scala 编写的脚本),它支持半自动主题检测模式(带有用户反馈)。
  • maui

如果您想开发自己的主题检测系统,您应该看看mallet 中的 LDA 实现(链接到工作 LDA 示例, 这mallet 主页上的一个不适用于最新的 mallet 版本)。

Check the following key words/topics extraction software/tools:

  • Kea - key word extraction
  • Tmt - Stanford topic detection toolkit (integration with Excel, scripts written in Scala), it supports a semi-automatic topic detection mode (with user's feedback).
  • maui

If you would like to develop your own topic detection system, you should take a look on LDA implementation in mallet (link to a working LDA sample, the one on mallet homepage does not work with the newest mallet version).

七分※倦醒 2024-12-25 14:46:09

您可以使用 HtmlUnit 解析文章的 HTML 并查询文档中您有兴趣搜索的部分。然后您可以应用您自己设计的简单算法来确定标签/关键字。

例如,split() 将文本拆分为空格,然后计算每个单词出现的次数。出现最多的单词(忽略“and”、“the”、“if”等)是关键字的良好候选者。

You can use HtmlUnit to parse the article's HTML and query for the parts of the document you are interested in searching. Then you can apply a simple algorithm of your own design to determine tags/keywords.

Like for instance, split() the text on whitespace and then count how many times each word occurs. The words that occur the most (ignoring things like "and", "the", "if", etc.) are good candidates for keywords.

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