Home » lucene-3.0.1-src » org.apache.lucene.analysis.cn.smart.hhmm » [javadoc | source]
public class: SegToken [javadoc | source]
SmartChineseAnalyzer internal token

WARNING: The status of the analyzers/smartcn analysis.cn.smart package is experimental. The APIs and file formats introduced here might change in the future and will not be supported anymore in such a case.

Field Summary
public  char[] charArray    Character array containing token text 
public  int startOffset    start offset into original sentence 
public  int endOffset    end offset into original sentence 
public  int wordType    WordType of the text 
public  int weight    word frequency 
public  int index    during segmentation, this is used to store the index of the token in the token list table 
 public SegToken(char[] idArray,
    int start,
    int end,
    int wordType,
    int weight) 
Method from org.apache.lucene.analysis.cn.smart.hhmm.SegToken Summary:
equals,   hashCode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.cn.smart.hhmm.SegToken Detail:
 public boolean equals(Object obj) 
 public int hashCode()