有什么比 ruby​​ alchemy 更好的提取关键字的方法吗?

发布于 2024-09-13 18:18:43 字数 157 浏览 11 评论 0原文

我目前已经用 Ruby 编写了一个基于 arc90 可读性代码的算法,用于从网页中提取文章。

现在我有了这篇文章,我想从中提取关键字和特定信息(名称、作者等),

我听说 Alchemy 是一个很棒的 ruby​​ gem,尽管它会消耗大量资源。我可以使用更好的宝石吗?

I've currently written an algorithm in Ruby based on the arc90 readability code to extract an article from a web page.

Now that I have the article, I want to extract keywords and specific information from it (names, author, etc)

I heard Alchemy was a great ruby gem for doing this though it consumes a lot of resources. Are there any better gems I can use for this?

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

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

发布评论

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

评论(2

我是有多爱你 2024-09-20 18:18:43

快速、轻量且易于使用的 gem,用于从较长的内容中提取关键字:

https://rubygems.org/gems/ highscore

我在生产中使用它,效果就像一个魅力。

这个问题有点老了,但我将把这个问题留在这里供其他人从谷歌来看到这个问题。

fast, leightweight and easy-to-use gem for extracting keywords from longer content:

https://rubygems.org/gems/highscore

i use it in production, works like a charm.

The question is a bit older, but i'll leave this here for others who will come from google to see this question.

自我难过 2024-09-20 18:18:43

有一个 OpenCalais gem 提供类似的功能。除了实体提取之外,它还可以检测实体之间的事件和关系。它并不轻量,但我无法判断它比 Alchemy 好还是差,因为我没有使用过 Alchemy 宝石。希望这有帮助。

There is an OpenCalais gem which provides similar capability. In addition to entity extraction it can also detect events and relations between entities. It's not lightweight, though I couldn't tell if it's better or worse than Alchemy as I haven't used the Alchemy gem. Hope this helps.

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