@Deprecated public final class StandardTokenizer40 extends Tokenizer
AttributeSource.State| Modifier and Type | Field and Description |
|---|---|
static int |
ACRONYM
Deprecated.
(3.1)
|
static int |
ACRONYM_DEP
Deprecated.
(3.1)
|
static int |
ALPHANUM
Deprecated.
|
static int |
APOSTROPHE
Deprecated.
(3.1)
|
static int |
CJ
Deprecated.
(3.1)
|
static int |
COMPANY
Deprecated.
(3.1)
|
static int |
EMAIL
Deprecated.
|
static int |
HANGUL
Deprecated.
|
static int |
HIRAGANA
Deprecated.
|
static int |
HOST
Deprecated.
(3.1)
|
static int |
IDEOGRAPHIC
Deprecated.
|
static int |
KATAKANA
Deprecated.
|
static int |
NUM
Deprecated.
|
static int |
SOUTHEAST_ASIAN
Deprecated.
|
static String[] |
TOKEN_TYPES
Deprecated.
String token types that correspond to token type int constants
|
DEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
StandardTokenizer40()
Deprecated.
Creates a new instance of the
StandardTokenizer40. |
StandardTokenizer40(AttributeFactory factory)
Deprecated.
Creates a new StandardTokenizer40 with a given
AttributeFactory |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
void |
end()
Deprecated.
|
int |
getMaxTokenLength()
Deprecated.
|
boolean |
incrementToken()
Deprecated.
|
void |
reset()
Deprecated.
|
void |
setMaxTokenLength(int length)
Deprecated.
Set the max allowed token length.
|
correctOffset, setReaderaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic static final int ALPHANUM
@Deprecated public static final int APOSTROPHE
@Deprecated public static final int ACRONYM
@Deprecated public static final int COMPANY
public static final int EMAIL
@Deprecated public static final int HOST
public static final int NUM
@Deprecated public static final int CJ
@Deprecated public static final int ACRONYM_DEP
public static final int SOUTHEAST_ASIAN
public static final int IDEOGRAPHIC
public static final int HIRAGANA
public static final int KATAKANA
public static final int HANGUL
public static final String[] TOKEN_TYPES
public StandardTokenizer40()
StandardTokenizer40.
See http://issues.apache.org/jira/browse/LUCENE-1068public StandardTokenizer40(AttributeFactory factory)
AttributeFactorypublic void setMaxTokenLength(int length)
public int getMaxTokenLength()
setMaxTokenLength(int)public final boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionpublic final void end()
throws IOException
end in class TokenStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class TokenizerIOExceptionpublic void reset()
throws IOException
reset in class TokenizerIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.