explosion / spacy-stanza

💥 Use the latest Stanza (StanfordNLP) research models directly in spaCy
MIT License
723 stars 59 forks source link

Access CoreNLP parsing tree #13

Closed lcswillems closed 5 years ago

lcswillems commented 5 years ago

Hi, Is it possible to access CoreNLP parsing tree from the doc object? Not only dependencies. Thank you, Lucas Willems

ines commented 5 years ago

What do you mean by the "CoreNLP parsing tree"? The constituency parse?

This wrapper is currently only intended for the new StanfordNLP models, not the CoreNLP server. It makes all linguistic annotations available that are also supported by spaCy. If you want to use CoreNLP, it's probably easiest to just call into it directly.

lcswillems commented 5 years ago

Yes you are right. It is what I did. Thank you