Свойство | Тип | Описание | |
---|---|---|---|
AddBufferToWordList | void | ||
Calc | Pair | ||
CutAll | IEnumerable |
||
CutDag | IEnumerable |
||
CutDagWithoutHmm | IEnumerable |
||
CutIt | IEnumerable |
||
GetDag | List |
Метод | Описание | |
---|---|---|
AddWord ( string word, int freq, string tag = null ) : void | ||
Cut ( string text, bool cutAll = false, bool hmm = true ) : IEnumerable |
The main function that segments an entire sentence that contains Chinese characters into seperated words.
|
|
CutForSearch ( string text, bool hmm = true ) : IEnumerable |
||
DeleteWord ( string word ) : void | ||
JiebaSegmenter ( ) : System | ||
LoadUserDict ( string userDictFile ) : void |
Loads user dictionaries.
|
|
Tokenize ( string text, TokenizerMode mode = TokenizerMode.Default, bool hmm = true ) : IEnumerable |
Метод | Описание | |
---|---|---|
AddBufferToWordList ( List |
||
Calc ( string sentence, IDictionary |
||
CutAll ( string sentence ) : IEnumerable |
||
CutDag ( string sentence ) : IEnumerable |
||
CutDagWithoutHmm ( string sentence ) : IEnumerable |
||
CutIt ( string text, Func |
||
GetDag ( string sentence ) : List |
public AddWord ( string word, int freq, string tag = null ) : void | ||
word | string | |
freq | int | |
tag | string | |
Результат | void |
public Cut ( string text, bool cutAll = false, bool hmm = true ) : IEnumerable |
||
text | string | The string to be segmented. |
cutAll | bool | Specify segmentation pattern. True for full pattern, False for accurate pattern. |
hmm | bool | Whether to use the Hidden Markov Model. |
Результат | IEnumerable |
public CutForSearch ( string text, bool hmm = true ) : IEnumerable |
||
text | string | |
hmm | bool | |
Результат | IEnumerable |
public LoadUserDict ( string userDictFile ) : void | ||
userDictFile | string | |
Результат | void |
public Tokenize ( string text, TokenizerMode mode = TokenizerMode.Default, bool hmm = true ) : IEnumerable |
||
text | string | |
mode | TokenizerMode | |
hmm | bool | |
Результат | IEnumerable |