Uses of Interface
org.apache.lucene.analysis.tokenattributes.CharTermAttribute
Packages that use CharTermAttribute
Package
Description
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.General-purpose attributes for text analysis.
-
Uses of CharTermAttribute in org.apache.lucene.analysis.standard
Methods in org.apache.lucene.analysis.standard with parameters of type CharTermAttributeModifier and TypeMethodDescriptionfinal voidStandardTokenizerImpl.getText(CharTermAttribute t) Fills CharTermAttribute with the current token text. -
Uses of CharTermAttribute in org.apache.lucene.analysis.tokenattributes
Classes in org.apache.lucene.analysis.tokenattributes that implement CharTermAttributeModifier and TypeClassDescriptionclassDefault implementation ofCharTermAttribute.classDefault implementation of the common attributes used by Lucene:CharTermAttributeTypeAttributePositionIncrementAttributePositionLengthAttributeOffsetAttributeTermFrequencyAttributeMethods in org.apache.lucene.analysis.tokenattributes that return CharTermAttributeModifier and TypeMethodDescriptionCharTermAttribute.append(char c) CharTermAttribute.append(CharSequence csq) CharTermAttribute.append(CharSequence csq, int start, int end) Appends the specifiedStringto this character sequence.CharTermAttribute.append(StringBuilder sb) Appends the specifiedStringBuilderto this character sequence.CharTermAttribute.append(CharTermAttribute termAtt) Appends the contents of the otherCharTermAttributeto this character sequence.final CharTermAttributeCharTermAttributeImpl.append(char c) final CharTermAttributeCharTermAttributeImpl.append(CharSequence csq) final CharTermAttributeCharTermAttributeImpl.append(CharSequence csq, int start, int end) final CharTermAttributefinal CharTermAttributeCharTermAttributeImpl.append(StringBuilder s) final CharTermAttributeCharTermAttributeImpl.append(CharTermAttribute ta) CharTermAttribute.setEmpty()Sets the length of the termBuffer to zero.final CharTermAttributeCharTermAttributeImpl.setEmpty()CharTermAttribute.setLength(int length) Set number of valid characters (length of the term) in the termBuffer array.final CharTermAttributeCharTermAttributeImpl.setLength(int length) Methods in org.apache.lucene.analysis.tokenattributes with parameters of type CharTermAttributeModifier and TypeMethodDescriptionCharTermAttribute.append(CharTermAttribute termAtt) Appends the contents of the otherCharTermAttributeto this character sequence.final CharTermAttributeCharTermAttributeImpl.append(CharTermAttribute ta)