public final class ICUNormalizer2CharFilter extends BaseCharFilter
Normalizer2
.input
Constructor and Description |
---|
ICUNormalizer2CharFilter(Reader in)
Create a new Normalizer2CharFilter that combines NFKC normalization, Case
Folding, and removes Default Ignorables (NFKC_Casefold)
|
ICUNormalizer2CharFilter(Reader in,
com.ibm.icu.text.Normalizer2 normalizer)
Create a new Normalizer2CharFilter with the specified Normalizer2
|
Modifier and Type | Method and Description |
---|---|
int |
read(char[] cbuf,
int off,
int len) |
addOffCorrectMap, correct, getLastCumulativeDiff
close, correctOffset
public ICUNormalizer2CharFilter(Reader in)
public ICUNormalizer2CharFilter(Reader in, com.ibm.icu.text.Normalizer2 normalizer)
in
- textnormalizer
- normalizer to usepublic int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.