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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • tools-1.5.3
    • 1.6.0
    • Parser
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: