大厦或找到一个"相关的术语;建议功能 [英] Building or Finding a "relevant terms" suggestion feature

查看:137
本文介绍了大厦或找到一个"相关的术语;建议功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于输入的几句话,我想有一个实用工具,将返回相关的术语,短语或概念的多样化。一个需要注意的是,它会需要有术语的大图,首先,否则该功能不会是非常有用的。

Given a few words of input, I want to have a utility that will return a diverse set of relevant terms, phrases, or concepts. A caveat is that it would need to have a large graph of terms to begin with, or else the feature would not be very useful.

例如,提交棒球将返回

["shortstop", "Babe Ruth", "foul ball", "steroids", ... ]

谷歌设置是我能找到的这种功能的最好的例子,但我不能使用它,因为他们有没有公共API(和我不会违背自己的TOS)。此外,单字输入不争取的结果非常多样化。我正在寻找一个解决方案,在切线熄灭。

Google Sets is the best example I can find of this kind of feature, but I can't use it since they have no public API (and I wont go against their TOS). Also, single-word input doesn't garner a very diverse set of results. I'm looking for a solution that goes off on tangents.

我已经尝试过使用维基百科的API 搜索类别和反向,但没有办法这些结果通过的相关性直接排序人气的。如果没有这些,建议列表是大规模和所有的地方,这是不是马上有用的,很难削减。

The closest I've experimented with is using WikiPedia's API to search Categories and Backlinks, but there's no way to directly sort those results by "relevance" or "popularity". Without that, the suggestion list is massive and all over the place, which is not immediately useful and very hard to whittle down.

使用字典也可以工作最少,但会留下任何专有名词或切向有关条款(如任何上面列出的结果)。

Using A Thesaurus could also work minimally, but that would leave out any proper nouns or tangentially relevant terms (like any of the results listed above).


我的愉快的重用一个开放的服务,(如果存在),但我没有发现任何足够。

I would happily reuse an open service, if one exists, but I haven't found anything sufficient.

我在寻找任何一个方式来实现这一点无论内部有体面填充启动设置重复使用的<​​strong>免费服务的,提供了这一点。

I'm looking for either a way to implement this either in-house with a decently-populated starting set, or reuse a free service that offers this.

有解决的办法?由于时间提前!

Have a solution? Thanks ahead of time!


更新:谢谢你的令人难以置信的密集和放大器;翔实的答案。我会选择在6〜12个月,一个成功的答案时,我会希望了解你的所有建议=)

UPDATE: Thank you for the incredibly dense & informative answers. I'll choose a winning answer in 6 to 12 months, when I'll hopefully understand what you've all suggested =)

推荐答案

您可能会感兴趣的的WordNet 。这需要一些语言知识的理解API,但基本上系统是英文单词含义为基础的环节,这是多还是少,你要搜索的内容数据库。我敢肯定,我可以挖掘更多的信息,如果你想要它。

You might be interested in WordNet. It takes a bit of linguistic knowledge to understand the API, but basically the system is a database of meaning-based links between English words, which is more or less what you're searching for. I'm sure I can dig up more information if you want it.

这篇关于大厦或找到一个&QUOT;相关的术语;建议功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆