stanfordnlp / python-stanford-corenlp

Python interface to CoreNLP using a bidirectional server-client interface.
MIT License
516 stars 105 forks source link

Enhanced++ Dependencies #32

Closed valeryweber closed 5 years ago

valeryweber commented 5 years ago

Dear All

I would like to access the

Enhanced++ Dependencies

via the python interface. How can I get this dependency?

Many thanks valery

arunchaganty commented 5 years ago

Again, stanfordnlp is probably the package you want to be using, but if you use the depparse annotator, the Enhanced++ dependencies are present in the proto returned from the CoreNLP server, but are called collapsedCCProcessedDependencies. See https://github.com/stanfordnlp/CoreNLP/blob/master/src/edu/stanford/nlp/pipeline/CoreNLP.proto for more.