Class HHMMSegmenter
Finds the optimal segmentation of a sentence into Chinese words
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
HHMMSegmenter
Namespace: Lucene.Net.Analysis.Cn.Smart.Hhmm
Assembly: Lucene.Net.Analysis.SmartCn.dll
Syntax
public class HHMMSegmenter : object
Methods
| Improve this Doc View SourceProcess(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 |
---|---|---|
System.String | sentence | input sentence |
Returns
Type | Description |
---|---|
IList<SegToken> | best segmentation as a IList{SegToken} |