Package org.apache.tika.eval.core.tokens
Class AlphaIdeographFilterFactory
- java.lang.Object
-
- org.apache.lucene.analysis.AbstractAnalysisFactory
-
- org.apache.lucene.analysis.TokenFilterFactory
-
- org.apache.tika.eval.core.tokens.AlphaIdeographFilterFactory
-
public class AlphaIdeographFilterFactory extends org.apache.lucene.analysis.TokenFilterFactoryFactory for filter that only allows tokens with characters that "isAlphabetic" or "isIdeographic" through.
-
-
Constructor Summary
Constructors Constructor Description AlphaIdeographFilterFactory()AlphaIdeographFilterFactory(Map<String,String> args)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.analysis.TokenStreamcreate(org.apache.lucene.analysis.TokenStream tokenStream)static booleanisAlphabetic(char[] token, int length)-
Methods inherited from class org.apache.lucene.analysis.TokenFilterFactory
availableTokenFilters, findSPIName, forName, lookupClass, normalize, reloadTokenFilters
-
Methods inherited from class org.apache.lucene.analysis.AbstractAnalysisFactory
defaultCtorException, get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitAt, splitFileNames
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-