Uses of Class
org.apache.lucene.analysis.cn.smart.hhmm.SegToken
Packages that use SegToken
Package
Description
Analyzer for Simplified Chinese, which indexes words.
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 SegTokenMethods in org.apache.lucene.analysis.cn.smart that return SegTokenModifier and TypeMethodDescriptionWordSegmenter.convertSegToken
(SegToken st, String sentence, int sentenceStartOffset) Process aSegToken
so that it is ready for indexing.Methods in org.apache.lucene.analysis.cn.smart that return types with arguments of type SegTokenModifier and TypeMethodDescriptionWordSegmenter.segmentSentence
(String sentence, int startOffset) Segment a sentence into words withHHMMSegmenter
Methods in org.apache.lucene.analysis.cn.smart with parameters of type SegTokenModifier and TypeMethodDescriptionWordSegmenter.convertSegToken
(SegToken st, String sentence, int sentenceStartOffset) Process aSegToken
so 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 SegTokenModifier and TypeFieldDescriptionBiSegGraph.segTokenList
SegGraph.tokenListTable
Map of start offsets to ArrayList of tokens at that positionMethods in org.apache.lucene.analysis.cn.smart.hhmm that return SegTokenMethods in org.apache.lucene.analysis.cn.smart.hhmm that return types with arguments of type SegTokenModifier and TypeMethodDescriptionBiSegGraph.getShortPath()
Find the shortest path with the Viterbi algorithm.SegGraph.getStartList
(int s) Get the list of tokens at the specified start offsetSegGraph.makeIndex()
Set theindex
for each token, based upon its order by startOffset.Return a list ofSegToken
representing the best segmentation of a sentenceSegGraph.toTokenList()
Return aList
of all tokens in the map, ordered by startOffset.Methods in org.apache.lucene.analysis.cn.smart.hhmm with parameters of type SegToken