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.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
JaSynonymBaseFormFilter(TokenStream input) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
incrementToken() |
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringprotected JaSynonymBaseFormFilter(TokenStream input)
public final boolean incrementToken()
throws java.io.IOException
incrementToken クラス内 TokenStreamjava.io.IOExceptionCopyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.