[
https://issues.apache.org/jira/browse/OPENNLP-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641356#comment-17641356
]
ASF GitHub Bot commented on OPENNLP-1332:
-----------------------------------------
mawiesne commented on PR #442:
URL: https://github.com/apache/opennlp/pull/442#issuecomment-1332273881
@kinow It's now reduced to a single commit.
> 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
>
> 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)