You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Joern Kottmann (JIRA)" <ji...@apache.org> on 2013/09/18 21:39:53 UTC

[jira] [Commented] (OPENNLP-598) Opennlp supports RRB/LRB and RCB/LCB, but not RSB/LSB

    [ https://issues.apache.org/jira/browse/OPENNLP-598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771147#comment-13771147 ] 

Joern Kottmann commented on OPENNLP-598:
----------------------------------------

Can you attach a sentence of your training data which shows this problem? If the data format does not match the expected format we might instead want to make it fail in a meaningful way.
                
> Opennlp supports RRB/LRB and RCB/LCB, but not RSB/LSB
> -----------------------------------------------------
>
>                 Key: OPENNLP-598
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-598
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: tools-1.5.3
>         Environment: windows, jdk 7
>            Reporter: Ioan Barbulescu
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: trunk.patch
>
>
> OpenNlp supports Right / Left Round Bracket and Right / Left Curly Bracket, but not Right / Left Square Bracket.
> Fix is simple, by adding the corresponding "if()"s in 3 files: 
> tools/parser/chunking/BuildContextGenerator
> tools/parser/Parse
> tools/tokenize/lang/en/TokenSampleStream
> Important NOTE:
> I attach the patch for this fix, made by svn diff in trunk/.
> However, please note that this patch includes also the changes for the fix of OPENNLP-597.
> Unfortunately, I cannot really go around this, as the changes for OPENNLP-597 were not yet merged, at the moment when I opened OPENNLP-598.
> If this is a problem, I will re-create this patch, after OPENNLP-597 is closed & its changes merged.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira