You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Bruno P. Kinoshita (Jira)" <ji...@apache.org> on 2022/11/30 14:56:00 UTC

[jira] [Updated] (OPENNLP-1332) Default chunker context generator has inconsistent format

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

Bruno P. Kinoshita updated OPENNLP-1332:
----------------------------------------
    Fix Version/s: 2.1.1

> Default chunker context generator has inconsistent format
> ---------------------------------------------------------
>
>                 Key: OPENNLP-1332
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1332
>             Project: OpenNLP
>          Issue Type: Improvement
>            Reporter: Stephen Foster
>            Priority: Minor
>             Fix For: 2.1.1
>
>
> In DefaultChunkerContextGenerator, when p_2 is assigned on line 56, it follows a different format from every other assignment:
> {code:java}
> p_2 = "p_2" + preds[i - 2];
> {code}
> The "p_2" is missing an equals sign - to be consistent it should read:
> {code:java}
> p_2 = "p_2=" + preds[i - 2];
> {code}
> Apologies if this is a known issue - I did a brief search but didn't see anything.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)