是否存在可以解析文本并输出该文本的工具,并通过超链接到维基百科条目来查找感兴趣的单词?
例如,我想要一个可以实现以下功能的工具:
The most popular search algorithm on a sorted list is the binary search.
进入:
The most popular search algorithm on a sorted list is the binary search.
如果维基百科有一个 API 可以做到这一点,那就太好了,因为它们最有能力确定什么是“感兴趣的词”。
在我的示例中,我只是链接了直接链接到条目的所有组合(The 和 most 除外)。
最佳答案
有一个工具可以完全满足您的要求。 http://wikify.appointment.at/ 它并不完美,但它有效。
关于parsing - 用于解析文本以查找可能的维基百科链接的工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/636351/