Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-598

Opennlp supports RRB/LRB and RCB/LCB, but not RSB/LSB

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: tools-1.5.3
    • Fix Version/s: 1.6.0
    • Component/s: Parser
    • Labels:
      None
    • Environment:
      windows, jdk 7

      Description

      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.

        Attachments

        1. trunk.patch
          7 kB
          Ioan Barbulescu

          Activity

            People

            • Assignee:
              joern Jörn Kottmann
              Reporter:
              ibarbulescu Ioan Barbulescu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: