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

Default chunker context generator has inconsistent format

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1.1
    • None
    • None

    Description

      In DefaultChunkerContextGenerator, when p_2 is assigned on line 56, it follows a different format from every other assignment:

      p_2 = "p_2" + preds[i - 2];
      

      The "p_2" is missing an equals sign - to be consistent it should read:

      p_2 = "p_2=" + preds[i - 2];
      

      Apologies if this is a known issue - I did a brief search but didn't see anything.

      Attachments

        Issue Links

          Activity

            People

              kinow Bruno P. Kinoshita
              SFosterQRA Stephen Foster
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: