【发布时间】:2013-11-06 17:32:09
【问题描述】:
是否有任何已知的方法(除了统计分析,但不一定将其排除为解决方案的一部分)使用自然语言处理将句子或概念相互关联。到目前为止,我只与 NLTK 和 Stanford-NLP 合作来帮助我的项目,但我对其他开源解决方案持开放态度。
以乔治·奥威尔的以下文章 (http://orwell.ru/library/essays/wiw/english/e_wiw) 为例。假设我给应用程序提供了句子
"What are George Orwell's opinions on writers."
或许
"George Orwell believes writers enjoy writing to express their creativity, to make a point and for their egos."
可能会从文章中产生类似
"The aesthetic motive is very feeble in a lot of writers, but even a pamphleteer or writer of textbooks will have pet words and phrases which appeal to him for non-utilitarian reasons; or he may feel strongly about typography, width of margins, etc."
或
"Serious writers, I should say, are on the whole more vain and self-centered than journalists, though less interested in money."
我知道这并不容易,而且我可能无法达到很高的准确性,但我希望就已经存在的内容以及我可以尝试开始的内容提出想法,或者至少根据已经存在的内容获得可能的最佳结果众所周知。
【问题讨论】:
标签: nlp semantics nltk stanford-nlp semantic-analysis