public class FastTextAnalyzer extends TextAnalyzer
Text Analyzer.
Modifier and Type | Field and Description |
---|---|
protected ChineseWordIdentifier |
cwIdentifier |
protected KeywordMatcher |
kwMatcher |
protected WordIdentifier |
wIdentifier |
dictionaryPath, keywordDefinitions, lengthDefinitions, TYPE_FAST, TYPE_MMSEG_COMPLEX, TYPE_MMSEG_MAXWORD, TYPE_MMSEG_SIMPLE
Constructor and Description |
---|
FastTextAnalyzer(String dictionaryPath,
Map<String,? extends Object> keywordDefinitions,
Map<Integer,? extends Object> lengthDefinitions) |
analyze, analyze, createInstance, createInstance, createInstance
protected ChineseWordIdentifier cwIdentifier
protected WordIdentifier wIdentifier
protected KeywordMatcher kwMatcher
Copyright © 2014. All Rights Reserved.