简体   繁体   English

在python中使用带有Nltk的斯坦福解析器解析句子

[英]parsing a sentence using Stanford parser with nltk in python

I am working with a project in python where i need to parse sentences for comparisons and finding similarity between sentences. 我正在使用python中的项目进行工作,我需要分析句子以进行比较并找到句子之间的相似性。

I have seen how to parse sentences using stanford parser in java, for the same to do in python,I have downloaded nltk for python.I am new to both python and natural language processing. 我已经看到了如何在Java中使用斯坦福解析器来解析句子,就像在python中一样,我已经为python下载了nltk。我对python和自然语言处理都是陌生的。

I would like to know what are the methods and libraries available with nltk. 我想知道nltk提供哪些方法和库。 Any help with possible resources is appreciated. 感谢您提供任何可能的资源帮助。

Thanks in advance. 提前致谢。

将Python包装器用于CoreNLP: https : //github.com/kedz/corenlp

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM