Package org.apache.lucene.analysis.ko
Class Token
java.lang.Object
org.apache.lucene.analysis.morph.Token
org.apache.lucene.analysis.ko.Token
- Direct Known Subclasses:
DecompoundToken
,DictionaryToken
Analyzed token with morphological data.
-
Field Summary
Fields inherited from class org.apache.lucene.analysis.morph.Token
endOffset, length, offset, posIncr, posLen, startOffset, surfaceForm, type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract POS.Tag
Get the left part of speech of the token.abstract KoMorphData.Morpheme[]
Get theKoMorphData.Morpheme
decomposition of the token.abstract POS.Type
Get thePOS.Type
of the token.abstract String
Get the reading of the token.abstract POS.Tag
Get the right part of speech of the token.Methods inherited from class org.apache.lucene.analysis.morph.Token
getEndOffset, getLength, getOffset, getPositionIncrement, getPositionLength, getStartOffset, getSurfaceForm, getSurfaceFormString, getType, setPositionIncrement, setPositionLength
-
Constructor Details
-
Token
protected Token(char[] surfaceForm, int offset, int length, int startOffset, int endOffset, TokenType type)
-
-
Method Details
-
getPOSType
Get thePOS.Type
of the token. -
getLeftPOS
Get the left part of speech of the token. -
getRightPOS
Get the right part of speech of the token. -
getReading
Get the reading of the token. -
getMorphemes
Get theKoMorphData.Morpheme
decomposition of the token.
-