是否有任何已知的方式(超出统计分析,但不一定排除它作为解决方案的一部分),使用自然语言处理将句子或概念彼此关联起来。到目前为止,我只与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."
我明白,这是不容易和我可能无法达到很高的准确度,但我希望能够提出有关已经存在的和我可以尝试开始的想法,或者至少基于已知和已知的内容获得最佳结果。
我试过其中的一些方法,但他们是最“袋”的技术。我想我更有兴趣知道是否有任何已知的方法试图理解超出匹配词语的句子中的含义。我知道这是一个困难而深入研究的领域,我在这个时候一直无法找到它的立场。感谢您的回应! – user2926522