Uses of Enum Class
org.apache.lucene.analysis.morph.TokenType
Packages that use TokenType
Package
Description
Analyzer for Japanese.
Analyzer for Korean.
Abstract classes for morphological analyzers.
-
Uses of TokenType in org.apache.lucene.analysis.ja
Methods in org.apache.lucene.analysis.ja with parameters of type TokenTypeConstructors in org.apache.lucene.analysis.ja with parameters of type TokenTypeModifierConstructorDescriptionToken
(char[] surfaceForm, int offset, int length, int startOffset, int endOffset, int morphId, TokenType type, JaMorphData morphData) -
Uses of TokenType in org.apache.lucene.analysis.ko
Fields in org.apache.lucene.analysis.ko with type parameters of type TokenTypeModifier and TypeFieldDescriptionprivate final EnumMap
<TokenType, Dictionary<? extends KoMorphData>> Viterbi.dictionaryMap
Methods in org.apache.lucene.analysis.ko with parameters of type TokenTypeConstructors in org.apache.lucene.analysis.ko with parameters of type TokenTypeModifierConstructorDescriptionDecompoundToken
(POS.Tag posTag, String surfaceForm, int startOffset, int endOffset, TokenType type) Creates a new DecompoundTokenDictionaryToken
(TokenType type, KoMorphData morphAtts, int wordId, char[] surfaceForm, int offset, int length, int startOffset, int endOffset) protected
-
Uses of TokenType in org.apache.lucene.analysis.morph
Fields in org.apache.lucene.analysis.morph declared as TokenTypeModifier and TypeFieldDescription(package private) TokenType[]
Viterbi.Position.backType
(package private) TokenType[]
ViterbiNBest.PositionNBest.forwardType
private TokenType[]
ViterbiNBest.Lattice.nodeDicType
protected final TokenType
Token.type
Fields in org.apache.lucene.analysis.morph with type parameters of type TokenTypeModifier and TypeFieldDescriptionprotected final EnumMap
<TokenType, Dictionary<? extends U>> ViterbiNBest.dictionaryMap
private EnumMap
<TokenType, Dictionary<? extends U>> ViterbiNBest.Lattice.dictionaryMap
Methods in org.apache.lucene.analysis.morph that return TokenTypeModifier and TypeMethodDescriptionViterbi.Position.getBackType
(int index) ViterbiNBest.PositionNBest.getForwardType
(int index) ViterbiNBest.Lattice.getNodeDicType
(int node) Token.getType()
Returns the type of this tokenstatic TokenType
Returns the enum constant of this class with the specified name.static TokenType[]
TokenType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.analysis.morph with parameters of type TokenTypeModifier and TypeMethodDescriptionprotected final void
Viterbi.add
(MorphData morphData, Viterbi.Position fromPosData, int wordPos, int endPos, int wordID, TokenType type, boolean addPenalty) Add a token on the minimum cost path to the pending token list.void
Viterbi.Position.add
(int cost, int lastRightID, int backPos, int backRPos, int backIndex, int backID, TokenType backType) void
ViterbiNBest.PositionNBest.addForward
(int forwardPos, int forwardIndex, int forwardID, TokenType forwardType) private int
Dictionary
<? extends T> Method parameters in org.apache.lucene.analysis.morph with type arguments of type TokenTypeModifier and TypeMethodDescription(package private) void
ViterbiNBest.Lattice.setup
(char[] fragment, EnumMap<TokenType, Dictionary<? extends U>> dictionaryMap, Viterbi.WrappedPositionArray<ViterbiNBest.PositionNBest> positions, int prevOffset, int endOffset, boolean useEOS) Constructors in org.apache.lucene.analysis.morph with parameters of type TokenType