|
||||||||||
| 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.FastTextAnalyzer
public class FastTextAnalyzer
基于KeywordMatcher分词的文本分析器。
Text Analyzer.
| Field Summary | |
|---|---|
protected ChineseWordIdentifier |
cwIdentifier
|
protected KeywordMatcher |
kwMatcher
|
protected WordIdentifier |
wIdentifier
|
| 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 | |
|---|---|
FastTextAnalyzer(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 ChineseWordIdentifier cwIdentifier
protected WordIdentifier wIdentifier
protected KeywordMatcher kwMatcher
| Constructor Detail |
|---|
public FastTextAnalyzer(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 | |||||||||