|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jabb.util.text.word.TextAnalyzer
net.sf.jabb.util.text.word.MmsegTextAnalyzer
public class MmsegTextAnalyzer
基于mmseg4j分词的文本分析器。
Text Analyzer.
| Field Summary | |
|---|---|
protected com.chenlb.mmseg4j.Dictionary |
dict
|
protected KeywordMatcher |
kwMatcher
|
protected com.chenlb.mmseg4j.MMSeg |
mmSeg
|
protected com.chenlb.mmseg4j.Seg |
seg
|
| Fields inherited from class net.sf.jabb.util.text.word.TextAnalyzer |
|---|
dictionaryPath, keywordDefinitions, lengthDefinitions, TYPE_FAST, TYPE_MMSEG_COMPLEX, TYPE_MMSEG_MAXWORD, TYPE_MMSEG_SIMPLE |
| Constructor Summary | |
|---|---|
MmsegTextAnalyzer(int type,
String dictionaryPath,
Map<String,? extends Object> keywordDefinitions,
Map<Integer,? extends Object> lengthDefinitions)
|
|
| Method Summary |
|---|
| Methods inherited from class net.sf.jabb.util.text.word.TextAnalyzer |
|---|
analyze, analyze, createInstance, createInstance, createInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.chenlb.mmseg4j.Dictionary dict
protected com.chenlb.mmseg4j.Seg seg
protected com.chenlb.mmseg4j.MMSeg mmSeg
protected KeywordMatcher kwMatcher
| Constructor Detail |
|---|
public MmsegTextAnalyzer(int type,
String dictionaryPath,
Map<String,? extends Object> keywordDefinitions,
Map<Integer,? extends Object> lengthDefinitions)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||