You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Vinh Khuc (JIRA)" <ji...@apache.org> on 2014/04/05 06:19:15 UTC

[jira] [Updated] (OPENNLP-31) Add evaluation support to the parser component

     [ https://issues.apache.org/jira/browse/OPENNLP-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinh Khuc updated OPENNLP-31:
-----------------------------

    Attachment: tree-1.gold
                tree-1.test
                tree-1.log
                tree-2.test
                tree-2.gold
                tree-2.log

I think the difference between ParserEvaluator and evalb is that OpenNLP's Parser doesn't consider the TOP node as a part of the tree while evalb treats the whole string as the tree.

I've attached the outputs generated by evalb for two trees: one with the TOP node (tree-1) and the other without it (tree-2). 

As you can see, the output for tree-2 is the same as the output of ParserEvaluator.main(), i.e. P = 42.86%, R = 37.5%

> Add evaluation support to the parser component
> ----------------------------------------------
>
>                 Key: OPENNLP-31
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-31
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Joern Kottmann
>            Assignee: Joern Kottmann
>             Fix For: 1.6.0
>
>         Attachments: tree-1.gold, tree-1.log, tree-1.test, tree-2.gold, tree-2.log, tree-2.test
>
>
> Add support for evaluating the tagging performance of the parser.
> Issues is migrated from SourceForge:
> https://sourceforge.net/tracker/?func=detail&aid=2557289&group_id=3368&atid=353368



--
This message was sent by Atlassian JIRA
(v6.2#6252)