How do I get the "Generic Dependencies Enhanced" response from Stanford coreNLP?

I am playing around with the coreNLP parser at Stanford and I have a small problem I am guessing, just something stupid that I am missing due to my lack of experience. I am currently using the node.js stanford-corenlp wrapper module with the latest full Java Stanford CoreNLP.

My current results are returning some information similar to the "Rolled dependencies with CC processed" data here: http://nlp.stanford.edu/software/example.xml

I am trying to figure out how I can get the dependencies called "Universal Dependencies Extended" as shown here: http://nlp.stanford.edu:8080/parser/index.jsp

If someone can even shed some light on which direction I need to explore more, that would be very helpful. Google is not very helpful at this time with specific "improved" results, and I'm just trying to figure out what I need to pass, call, or include in my annotators to get the results shown in the link above. Thank you for your time!

+3


source to share


1 answer


Additional (extended) dependencies can be included in the depparse annotator using the "depparse.extradependencies" option.



According to http://nlp.stanford.edu/software/corenlp.shtml , the default is NONE and can be set to SUBJ_ONLY or MAXIMAL.

+3


source







All Articles