Evaluating (treebank-parser ["What can happen in a second ."]) using the set-up in the README file here, I get the following parse:
(TOP
(SBARQ
(WHNP (WP What))
(SQ
(VP (MD can) (VP (VB happen) (PP (IN in) (NP (DT a) (JJ second))))))
(. .)))
Actually I'm pretty sure the JJ should be an NN. Is this alternative known to the OpenNLP engine at some point in its parse, and if so, can I get it to report on the known alternative(s)?
Evaluating
(treebank-parser ["What can happen in a second ."])using the set-up in the README file here, I get the following parse:Actually I'm pretty sure the
JJshould be anNN. Is this alternative known to the OpenNLP engine at some point in its parse, and if so, can I get it to report on the known alternative(s)?