|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.util.AttributeSource org.apache.lucene.analysis.TokenStream org.apache.lucene.analysis.Tokenizer org.apache.lucene.analysis.CharTokenizer org.apache.lucene.analysis.ru.RussianLetterTokenizer
StandardTokenizer
instead, which has the same functionality.
This filter will be removed in Lucene 5.0
@Deprecated public class RussianLetterTokenizer
A RussianLetterTokenizer is a Tokenizer
that extends LetterTokenizer
by also allowing the basic Latin digits 0-9.
You must specify the required Version
compatibility when creating
RussianLetterTokenizer
:
CharTokenizer
uses an int based API to normalize and
detect token characters. See CharTokenizer.isTokenChar(int)
and
CharTokenizer.normalize(int)
for details.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource |
---|
AttributeSource.AttributeFactory, AttributeSource.State |
Field Summary |
---|
Fields inherited from class org.apache.lucene.analysis.Tokenizer |
---|
input |
Constructor Summary | |
---|---|
RussianLetterTokenizer(AttributeSource.AttributeFactory factory,
Reader in)
Deprecated. use RussianLetterTokenizer(Version, AttributeSource.AttributeFactory, Reader)
instead. This will be removed in Lucene 4.0. |
|
RussianLetterTokenizer(AttributeSource source,
Reader in)
Deprecated. use RussianLetterTokenizer(Version, AttributeSource, Reader)
instead. This will be removed in Lucene 4.0. |
|
RussianLetterTokenizer(Reader in)
Deprecated. use RussianLetterTokenizer(Version, Reader) instead. This will
be removed in Lucene 4.0. |
|
RussianLetterTokenizer(Version matchVersion,
AttributeSource.AttributeFactory factory,
Reader in)
Deprecated. Construct a new RussianLetterTokenizer using a given AttributeSource.AttributeFactory . |
|
RussianLetterTokenizer(Version matchVersion,
AttributeSource source,
Reader in)
Deprecated. Construct a new RussianLetterTokenizer using a given AttributeSource . |
|
RussianLetterTokenizer(Version matchVersion,
Reader in)
Deprecated. Construct a new RussianLetterTokenizer. |
Method Summary | |
---|---|
protected boolean |
isTokenChar(int c)
Deprecated. Collects only characters which satisfy Character.isLetter(int) . |
Methods inherited from class org.apache.lucene.analysis.CharTokenizer |
---|
end, incrementToken, isTokenChar, normalize, normalize, reset |
Methods inherited from class org.apache.lucene.analysis.Tokenizer |
---|
close, correctOffset |
Methods inherited from class org.apache.lucene.analysis.TokenStream |
---|
reset |
Methods inherited from class org.apache.lucene.util.AttributeSource |
---|
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RussianLetterTokenizer(Version matchVersion, Reader in)
in
- the input to split up into tokenspublic RussianLetterTokenizer(Version matchVersion, AttributeSource source, Reader in)
AttributeSource
.
matchVersion
- Lucene version to match See abovesource
- the attribute source to use for this Tokenizer
in
- the input to split up into tokenspublic RussianLetterTokenizer(Version matchVersion, AttributeSource.AttributeFactory factory, Reader in)
AttributeSource.AttributeFactory
. * @param
matchVersion Lucene version to match See
above
factory
- the attribute factory to use for this Tokenizer
in
- the input to split up into tokens@Deprecated public RussianLetterTokenizer(Reader in)
RussianLetterTokenizer(Version, Reader)
instead. This will
be removed in Lucene 4.0.
@Deprecated public RussianLetterTokenizer(AttributeSource source, Reader in)
RussianLetterTokenizer(Version, AttributeSource, Reader)
instead. This will be removed in Lucene 4.0.
AttributeSource
.
@Deprecated public RussianLetterTokenizer(AttributeSource.AttributeFactory factory, Reader in)
RussianLetterTokenizer(Version, AttributeSource.AttributeFactory, Reader)
instead. This will be removed in Lucene 4.0.
AttributeSource.AttributeFactory
.
Method Detail |
---|
protected boolean isTokenChar(int c)
Character.isLetter(int)
.
isTokenChar
in class CharTokenizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |