public class JaSynonymBaseFormFilter extends TokenFilter
BaseFormAttribute
.
This acts as a lemmatizer for verbs and adjectives.
To prevent terms from being stemmed use an instance of
SetKeywordMarkerFilter
or a custom TokenFilter
that sets
the KeywordAttribute
before this TokenStream
.
AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
修飾子 | コンストラクタと説明 |
---|---|
protected |
JaSynonymBaseFormFilter(TokenStream input) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
incrementToken() |
close, end, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
protected JaSynonymBaseFormFilter(TokenStream input)
public final boolean incrementToken() throws java.io.IOException
incrementToken
クラス内 TokenStream
java.io.IOException
Copyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.