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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.Cn.Smart.Hhmm
Assembly: Lucene.Net.Analysis.SmartCn.dll
Syntax
public class HHMMSegmenter
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 |
---|---|
System.Collections.Generic.IList<SegToken> | best segmentation as a IList{SegToken} |