Method | Description | |
---|---|---|
DeleteWord ( String word ) : void | ||
GetAllMatchs ( string text, bool chineseNameIdentify ) : Framework.AppendList |
||
GetWordAttr ( string word ) : WordAttribute | ||
InsertWord ( String word, double frequency, POS pos ) : void | ||
Load ( String fileName ) : void | ||
Load ( String fileName, bool textFile, string &version ) : void |
|
|
Load ( String fileName, string &version ) : void | ||
Save ( string fileName ) : void | ||
Save ( string fileName, string version ) : void | ||
SaveToText ( string fileName ) : void | ||
Search ( String key ) : List |
通过遍历方式搜索
|
|
SearchByLength ( int len ) : List |
||
SearchByPos ( POS Pos ) : List |
||
UpdateWord ( String word, double frequency, POS pos ) : void |
Method | Description | |
---|---|---|
LoadFromBinFile ( String fileName, string &verNumStr ) : |
||
LoadFromTextFile ( String fileName ) : |
||
SaveToBinFile ( String fileName, string verStr ) : void | ||
SaveToTextFile ( String fileName ) : void |
public GetAllMatchs ( string text, bool chineseNameIdentify ) : Framework.AppendList |
||
text | string | |
chineseNameIdentify | bool | |
return | Framework.AppendList |
public GetWordAttr ( string word ) : WordAttribute | ||
word | string | |
return | WordAttribute |
public InsertWord ( String word, double frequency, POS pos ) : void | ||
word | String | |
frequency | double | |
pos | POS | |
return | void |
public Load ( String fileName, bool textFile, string &version ) : void | ||
fileName | String | |
textFile | bool | |
version | string | 输出字典的版本号 |
return | void |
public Load ( String fileName, string &version ) : void | ||
fileName | String | |
version | string | |
return | void |
public Save ( string fileName, string version ) : void | ||
fileName | string | |
version | string | |
return | void |
public UpdateWord ( String word, double frequency, POS pos ) : void | ||
word | String | |
frequency | double | |
pos | POS | |
return | void |