Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chunking some text with the stanford-nlp

Tags:

stanford-nlp

I'm using the stanford core NLP and I use this line to load some modules to process my text:

props.put("annotators", "tokenize, ssplit, pos, lemma, ner, parse, dcoref");

Is ther a module that i can load to chunks the text?

Or any suggestion with a alterantive way to use the stanford core to chunk some text?

Thank you

like image 722
LucaT Avatar asked Nov 28 '11 17:11

LucaT


1 Answers

I think the parser output can be used to obtain NP chunks. Take a look at the context-free representation on the Stanford Parser website which provides example output.

like image 143
David C Avatar answered Oct 20 '22 15:10

David C