Closeable
, AutoCloseable
public class JapaneseAnalyzer
extends org.apache.lucene.analysis.StopwordAnalyzerBase
JapaneseTokenizer
Constructor | Description |
---|---|
JapaneseAnalyzer(org.apache.lucene.util.Version matchVersion) |
|
JapaneseAnalyzer(org.apache.lucene.util.Version matchVersion,
UserDictionary userDict,
JapaneseTokenizer.Mode mode,
org.apache.lucene.analysis.CharArraySet stopwords,
Set<String> stoptags) |
Modifier and Type | Method | Description |
---|---|---|
protected org.apache.lucene.analysis.ReusableAnalyzerBase.TokenStreamComponents |
createComponents(String fieldName,
Reader reader) |
|
static org.apache.lucene.analysis.CharArraySet |
getDefaultStopSet() |
|
static Set<String> |
getDefaultStopTags() |
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, setPreviousTokenStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JapaneseAnalyzer(org.apache.lucene.util.Version matchVersion)
public JapaneseAnalyzer(org.apache.lucene.util.Version matchVersion, UserDictionary userDict, JapaneseTokenizer.Mode mode, org.apache.lucene.analysis.CharArraySet stopwords, Set<String> stoptags)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.