xissy / node-stanford-simple-nlp

A simple node.js wrapper for stanford-core-nlp.
Other
148 stars 44 forks source link

Parsing ideas #17

Closed dicristomanuel closed 8 years ago

dicristomanuel commented 8 years ago

Has anyone here came up with a way to parse the string result that you get from result.document.sentences.sentence.parse? With the one in the example you would get this '(ROOT (S (NP (DT This)) (VP (VBZ is) (ADJP (RB so) (JJ good))) (. .))) ' (which compared to other ones is still a very simple one). Now I'm trying to write a parser function so that I can build further logic on top of the result.