Package org.apache.lucene.analysis.cjk
Class CJKWidthCharFilter
java.lang.Object
java.io.Reader
org.apache.lucene.analysis.CharFilter
org.apache.lucene.analysis.charfilter.BaseCharFilter
org.apache.lucene.analysis.cjk.CJKWidthCharFilter
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
A
CharFilter that normalizes CJK width differences:
- Folds fullwidth ASCII variants into the equivalent basic latin
- Folds halfwidth Katakana variants into the equivalent kana
NOTE: this char filter is the exact counterpart of CJKWidthFilter.
-
Field Summary
Fields inherited from class org.apache.lucene.analysis.CharFilter
input -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.analysis.charfilter.BaseCharFilter
addOffCorrectMap, correct, getLastCumulativeDiffMethods inherited from class org.apache.lucene.analysis.CharFilter
close, correctOffsetMethods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, ready, reset, skip, transferTo
-
Constructor Details
-
CJKWidthCharFilter
Default constructor that takes aReader.
-
-
Method Details
-
read
- Overrides:
readin classReader- Throws:
IOException
-
read
- Specified by:
readin classReader- Throws:
IOException
-