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

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

public class FastTextAnalyzer
extends TextAnalyzer

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

Text Analyzer.

Author:
Zhengmao HU (James)

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

cwIdentifier

protected ChineseWordIdentifier cwIdentifier

wIdentifier

protected WordIdentifier wIdentifier

kwMatcher

protected KeywordMatcher kwMatcher
Constructor Detail

FastTextAnalyzer

public FastTextAnalyzer(String dictionaryPath,
                        Map<String,? extends Object> keywordDefinitions,
                        Map<Integer,? extends Object> lengthDefinitions)


Copyright © 2012. All Rights Reserved.