Skip to content
This repository has been archived by the owner on Sep 3, 2018. It is now read-only.

Commit

Permalink
Fix the problem of not using the case-normalized character.
Browse files Browse the repository at this point in the history
  • Loading branch information
johann-petrak committed Aug 1, 2018
1 parent 0094e6d commit 9e5b6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/jpetrak/gate/stringannotation/utils/TextChunk.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public static TextChunk makeChunk(
if(caseNormalize) {
c = Character.toUpperCase(c);
}
chunk.putTextChar(i, wordTextChars[j]);
chunk.putTextChar(i, c);
// was: chunk.text[i] = wordTextChars[j];
if(haveFeature) {
chunk.putStartOffset(i, curStart);
Expand Down

0 comments on commit 9e5b6ff

Please sign in to comment.