Uses of Class
org.apache.lucene.analysis.cn.smart.hhmm.SegToken
-
Packages that use SegToken Package Description org.apache.lucene.analysis.cn.smart Analyzer for Simplified Chinese, which indexes words.org.apache.lucene.analysis.cn.smart.hhmm SmartChineseAnalyzer Hidden Markov Model package. -
-
Uses of SegToken in org.apache.lucene.analysis.cn.smart
Fields in org.apache.lucene.analysis.cn.smart with type parameters of type SegToken Modifier and Type Field Description private java.util.Iterator<SegToken>HMMChineseTokenizer. tokensMethods in org.apache.lucene.analysis.cn.smart that return SegToken Modifier and Type Method Description SegTokenWordSegmenter. convertSegToken(SegToken st, java.lang.String sentence, int sentenceStartOffset)Process aSegTokenso that it is ready for indexing.Methods in org.apache.lucene.analysis.cn.smart that return types with arguments of type SegToken Modifier and Type Method Description java.util.List<SegToken>WordSegmenter. segmentSentence(java.lang.String sentence, int startOffset)Segment a sentence into words withHHMMSegmenterMethods in org.apache.lucene.analysis.cn.smart with parameters of type SegToken Modifier and Type Method Description SegTokenWordSegmenter. convertSegToken(SegToken st, java.lang.String sentence, int sentenceStartOffset)Process aSegTokenso that it is ready for indexing. -
Uses of SegToken in org.apache.lucene.analysis.cn.smart.hhmm
Fields in org.apache.lucene.analysis.cn.smart.hhmm with type parameters of type SegToken Modifier and Type Field Description private java.util.List<SegToken>BiSegGraph. segTokenListprivate java.util.Map<java.lang.Integer,java.util.ArrayList<SegToken>>SegGraph. tokenListTableMap of start offsets to ArrayList of tokens at that positionMethods in org.apache.lucene.analysis.cn.smart.hhmm that return SegToken Modifier and Type Method Description SegTokenSegTokenFilter. filter(SegToken token)Filter an inputSegTokenMethods in org.apache.lucene.analysis.cn.smart.hhmm that return types with arguments of type SegToken Modifier and Type Method Description java.util.List<SegToken>BiSegGraph. getShortPath()Find the shortest path with the Viterbi algorithm.java.util.List<SegToken>SegGraph. getStartList(int s)Get the list of tokens at the specified start offsetjava.util.List<SegToken>SegGraph. makeIndex()Set theindexfor each token, based upon its order by startOffset.java.util.List<SegToken>HHMMSegmenter. process(java.lang.String sentence)Return a list ofSegTokenrepresenting the best segmentation of a sentencejava.util.List<SegToken>SegGraph. toTokenList()Return aListof all tokens in the map, ordered by startOffset.Methods in org.apache.lucene.analysis.cn.smart.hhmm with parameters of type SegToken Modifier and Type Method Description voidSegGraph. addToken(SegToken token)Add aSegTokento the mapping, creating a new mapping at the token's startOffset if one does not exist.SegTokenSegTokenFilter. filter(SegToken token)Filter an inputSegToken
-