有什么比 ruby alchemy 更好的提取关键字的方法吗?
我目前已经用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
快速、轻量且易于使用的 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.
有一个 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.