Lynten / stanford-corenlp

Python wrapper for Stanford CoreNLP.
MIT License
919 stars 200 forks source link

How can we extract noun phrase without the POS tags from a constituency parse tree? #29

Open HahaYAYA opened 6 years ago

HahaYAYA commented 6 years ago

Would it be possible for us to extract the NP or VP from the constituency parsing results?

Lynten commented 6 years ago

I don't understand. Maybe you should provide an example to explain what you want.

zhiqihuang commented 5 years ago

The Constituency Parsing result is a string object.

You can, but it's really hard.