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

java.lang.Object
  extended by com.chenlb.mmseg4j.Seg
      extended by com.chenlb.mmseg4j.SimpleSeg
          extended by net.sf.jabb.util.text.word.ChineseWordIdentifier

public class ChineseWordIdentifier
extends com.chenlb.mmseg4j.SimpleSeg


Field Summary
protected static com.chenlb.mmseg4j.Chunk emptyChunk
           
protected  List<String> identifiedWords
           
 
Fields inherited from class com.chenlb.mmseg4j.Seg
dic
 
Constructor Summary
ChineseWordIdentifier()
           
 
Method Summary
 List<String> getIdentifiedWords()
           
protected  boolean isUnit(int codePoint)
           
 com.chenlb.mmseg4j.Chunk seg(com.chenlb.mmseg4j.Sentence sen)
           
 
Methods inherited from class com.chenlb.mmseg4j.Seg
maxMatch, maxMatch, printChunk, search, search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

emptyChunk

protected static com.chenlb.mmseg4j.Chunk emptyChunk

identifiedWords

protected List<String> identifiedWords
Constructor Detail

ChineseWordIdentifier

public ChineseWordIdentifier()
Method Detail

seg

public com.chenlb.mmseg4j.Chunk seg(com.chenlb.mmseg4j.Sentence sen)
Overrides:
seg in class com.chenlb.mmseg4j.SimpleSeg

isUnit

protected boolean isUnit(int codePoint)
Overrides:
isUnit in class com.chenlb.mmseg4j.Seg

getIdentifiedWords

public List<String> getIdentifiedWords()
Returns:
the identifiedWords


Copyright © 2012. All Rights Reserved.