net.sf.jabb.util.text.word
Class MmsegTextAnalyzer

java.lang.Object
  extended by net.sf.jabb.util.text.word.TextAnalyzer
      extended by net.sf.jabb.util.text.word.MmsegTextAnalyzer

public class MmsegTextAnalyzer
extends TextAnalyzer

基于mmseg4j分词的文本分析器。

Text Analyzer.

Author:
Zhengmao HU (James)

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

dict

protected com.chenlb.mmseg4j.Dictionary dict

seg

protected com.chenlb.mmseg4j.Seg seg

mmSeg

protected com.chenlb.mmseg4j.MMSeg mmSeg

kwMatcher

protected KeywordMatcher kwMatcher
Constructor Detail

MmsegTextAnalyzer

public MmsegTextAnalyzer(int type,
                         String dictionaryPath,
                         Map<String,? extends Object> keywordDefinitions,
                         Map<Integer,? extends Object> lengthDefinitions)


Copyright © 2012. All Rights Reserved.