C# Class AdvUtils.DictMatch

Mostra file Open project: zhongkaifu/AdvUtils Class Usage Examples

Public Methods

Method Description
ConvertDictFromRawTextToBinary ( string strRawFileName, string strDestFileName ) : void
DictMatch ( ) : System
LoadDictFromBinary ( string strFileName ) : void
LoadDictFromRawText ( string fullpath ) : void
Search ( string inbuf, List &dm_r, List &offsetList, int opertype ) : int

Private Methods

Method Description
AddLemma ( string strTerm, string strProp ) : int
Init ( ) : void
InitSufentry ( int hashsize, int backsepos ) : sufentry
InsertDentry ( int lastpos, int value, int &curpos ) : int
ResizeInfo ( ) : int
SeekEntry ( int lde, int value ) : int
SeekLemma ( string term ) : int

Method Details

ConvertDictFromRawTextToBinary() public method

public ConvertDictFromRawTextToBinary ( string strRawFileName, string strDestFileName ) : void
strRawFileName string
strDestFileName string
return void

DictMatch() public method

public DictMatch ( ) : System
return System

LoadDictFromBinary() public method

public LoadDictFromBinary ( string strFileName ) : void
strFileName string
return void

LoadDictFromRawText() public method

public LoadDictFromRawText ( string fullpath ) : void
fullpath string
return void

Search() public method

public Search ( string inbuf, List &dm_r, List &offsetList, int opertype ) : int
inbuf string
dm_r List
offsetList List
opertype int
return int