Class HHMMSegmenter
Finds the optimal segmentation of a sentence into Chinese words
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Analysis.Cn.Smart.Hhmm
Assembly: Lucene.Net.Analysis.SmartCn.dll
Syntax
public class HHMMSegmenter
Methods
Process(string)
Return a list of SegToken representing the best segmentation of a sentence
Declaration
public virtual IList<SegToken> Process(string sentence)
Parameters
Type | Name | Description |
---|---|---|
string | sentence | input sentence |
Returns
Type | Description |
---|---|
IList<SegToken> | best segmentation as a IList{SegToken} |