public class MmsegTextAnalyzer extends TextAnalyzer
Text Analyzer.
Modifier and Type | Field and Description |
---|---|
protected com.chenlb.mmseg4j.Dictionary |
dict |
protected KeywordMatcher |
kwMatcher |
protected com.chenlb.mmseg4j.MMSeg |
mmSeg |
protected com.chenlb.mmseg4j.Seg |
seg |
dictionaryPath, keywordDefinitions, lengthDefinitions, TYPE_FAST, TYPE_MMSEG_COMPLEX, TYPE_MMSEG_MAXWORD, TYPE_MMSEG_SIMPLE
Constructor and Description |
---|
MmsegTextAnalyzer(int type,
String dictionaryPath,
Map<String,? extends Object> keywordDefinitions,
Map<Integer,? extends Object> lengthDefinitions) |
analyze, analyze, createInstance, createInstance, createInstance
protected com.chenlb.mmseg4j.Dictionary dict
protected com.chenlb.mmseg4j.Seg seg
protected com.chenlb.mmseg4j.MMSeg mmSeg
protected KeywordMatcher kwMatcher
Copyright © 2014. All Rights Reserved.