Package | Description |
---|---|
org.apache.lucene.analysis.standard |
Fast, general-purpose grammar-based tokenizer
StandardTokenizer
implements the Word Break rules from the Unicode Text Segmentation algorithm, as specified in
Unicode Standard Annex #29. |
org.apache.lucene.analysis.tokenattributes |
General-purpose attributes for text analysis.
|
Modifier and Type | Method and Description |
---|---|
void |
StandardTokenizerImpl.getText(CharTermAttribute t)
Fills CharTermAttribute with the current token text.
|
Modifier and Type | Class and Description |
---|---|
class |
CharTermAttributeImpl
Default implementation of
CharTermAttribute . |
class |
PackedTokenAttributeImpl
Default implementation of the common attributes used by Lucene:
CharTermAttribute
TypeAttribute
PositionIncrementAttribute
PositionLengthAttribute
OffsetAttribute
TermFrequencyAttribute
|
Modifier and Type | Method and Description |
---|---|
CharTermAttribute |
CharTermAttribute.append(char c) |
CharTermAttribute |
CharTermAttributeImpl.append(char c) |
CharTermAttribute |
CharTermAttribute.append(CharSequence csq) |
CharTermAttribute |
CharTermAttributeImpl.append(CharSequence csq) |
CharTermAttribute |
CharTermAttribute.append(CharSequence csq,
int start,
int end) |
CharTermAttribute |
CharTermAttributeImpl.append(CharSequence csq,
int start,
int end) |
CharTermAttribute |
CharTermAttribute.append(CharTermAttribute termAtt)
Appends the contents of the other
CharTermAttribute to this character sequence. |
CharTermAttribute |
CharTermAttributeImpl.append(CharTermAttribute ta) |
CharTermAttribute |
CharTermAttribute.append(String s)
Appends the specified
String to this character sequence. |
CharTermAttribute |
CharTermAttributeImpl.append(String s) |
CharTermAttribute |
CharTermAttribute.append(StringBuilder sb)
Appends the specified
StringBuilder to this character sequence. |
CharTermAttribute |
CharTermAttributeImpl.append(StringBuilder s) |
CharTermAttribute |
CharTermAttribute.setEmpty()
Sets the length of the termBuffer to zero.
|
CharTermAttribute |
CharTermAttributeImpl.setEmpty() |
CharTermAttribute |
CharTermAttribute.setLength(int length)
Set number of valid characters (length of the term) in
the termBuffer array.
|
CharTermAttribute |
CharTermAttributeImpl.setLength(int length) |
Modifier and Type | Method and Description |
---|---|
CharTermAttribute |
CharTermAttribute.append(CharTermAttribute termAtt)
Appends the contents of the other
CharTermAttribute to this character sequence. |
CharTermAttribute |
CharTermAttributeImpl.append(CharTermAttribute ta) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.