Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
org.apache.lucene.analysis.ar |
Analyzer for Arabic.
|
org.apache.lucene.analysis.cjk |
Analyzer for Chinese, Japanese, and Korean, which indexes bigrams (overlapping groups of two adjacent Han characters).
|
org.apache.lucene.analysis.cn |
Analyzer for Chinese, which indexes unigrams (individual chinese characters).
|
org.apache.lucene.analysis.cn.smart |
Analyzer for Simplified Chinese, which indexes words.
|
org.apache.lucene.analysis.ngram |
Character n-gram tokenizers and filters.
|
org.apache.lucene.analysis.ru |
Analyzer for Russian.
|
org.apache.lucene.analysis.standard |
A fast grammar-based tokenizer constructed with JFlex.
|
org.apache.lucene.util |
Some utility classes.
|
org.apache.lucene.wikipedia.analysis |
Tokenizer that is aware of Wikipedia syntax.
|
Constructor and Description |
---|
CharTokenizer(AttributeSource.AttributeFactory factory,
Reader input) |
KeywordTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
int bufferSize) |
LetterTokenizer(AttributeSource.AttributeFactory factory,
Reader in)
Construct a new LetterTokenizer using a given
AttributeSource.AttributeFactory . |
LowerCaseTokenizer(AttributeSource.AttributeFactory factory,
Reader in)
Construct a new LowerCaseTokenizer using a given
AttributeSource.AttributeFactory . |
NumericTokenStream(AttributeSource.AttributeFactory factory,
int precisionStep)
Expert: Creates a token stream for numeric values with the specified
precisionStep using the given
AttributeSource.AttributeFactory . |
Tokenizer(AttributeSource.AttributeFactory factory)
Construct a tokenizer with null input using the given AttributeFactory.
|
Tokenizer(AttributeSource.AttributeFactory factory,
Reader input)
Construct a token stream processing the given input using the given AttributeFactory.
|
TokenStream(AttributeSource.AttributeFactory factory)
A TokenStream using the supplied AttributeFactory for creating new
Attribute instances. |
WhitespaceTokenizer(AttributeSource.AttributeFactory factory,
Reader in)
Construct a new WhitespaceTokenizer using a given
AttributeSource.AttributeFactory . |
Constructor and Description |
---|
ArabicLetterTokenizer(AttributeSource.AttributeFactory factory,
Reader in) |
Constructor and Description |
---|
CJKTokenizer(AttributeSource.AttributeFactory factory,
Reader in) |
Constructor and Description |
---|
ChineseTokenizer(AttributeSource.AttributeFactory factory,
Reader in) |
Constructor and Description |
---|
SentenceTokenizer(AttributeSource.AttributeFactory factory,
Reader reader) |
Constructor and Description |
---|
EdgeNGramTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
EdgeNGramTokenizer.Side side,
int minGram,
int maxGram)
Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given range
|
EdgeNGramTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
String sideLabel,
int minGram,
int maxGram)
Creates EdgeNGramTokenizer that can generate n-grams in the sizes of the given range
|
NGramTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
int minGram,
int maxGram)
Creates NGramTokenizer with given min and max n-grams.
|
Constructor and Description |
---|
RussianLetterTokenizer(AttributeSource.AttributeFactory factory,
Reader in) |
Constructor and Description |
---|
StandardTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
boolean replaceInvalidAcronym)
|
StandardTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader input)
Creates a new StandardTokenizer with a given
AttributeSource.AttributeFactory |
Modifier and Type | Field and Description |
---|---|
static AttributeSource.AttributeFactory |
AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY
This is the default factory that creates
AttributeImpl s using the
class name of the supplied Attribute interface class by appending Impl to it. |
Modifier and Type | Method and Description |
---|---|
AttributeSource.AttributeFactory |
AttributeSource.getAttributeFactory()
returns the used AttributeFactory.
|
Constructor and Description |
---|
AttributeSource(AttributeSource.AttributeFactory factory)
An AttributeSource using the supplied
AttributeSource.AttributeFactory for creating new Attribute instances. |
Constructor and Description |
---|
WikipediaTokenizer(AttributeSource.AttributeFactory factory,
Reader input,
int tokenOutput,
Set untokenizedTypes)
Creates a new instance of the
WikipediaTokenizer . |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.