mirror of https://github.com/apache/lucene.git
LUCENE-7940: added missing boundary case for ba phaala normalization
This commit is contained in:
parent
7d468c45a9
commit
40dddf9324
|
@ -104,7 +104,7 @@ public class BengaliNormalizer {
|
|||
len = delete(s, i, len);
|
||||
len = delete(s, i-1, len);
|
||||
i -=2;
|
||||
} else {
|
||||
} else if(i - 2 >= 0){
|
||||
s[i - 1] = s[i - 2];
|
||||
len = delete(s, i, len);
|
||||
i --;
|
||||
|
|
Loading…
Reference in New Issue