C# Class AdvUtils.DictMatch

Afficher le fichier Open project: zhongkaifu/AdvUtils Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ConvertDictFromRawTextToBinary ( string strRawFileName, string strDestFileName ) : void
strRawFileName string
strDestFileName string
Résultat void

DictMatch() public méthode

public DictMatch ( ) : System
Résultat System

LoadDictFromBinary() public méthode

public LoadDictFromBinary ( string strFileName ) : void
strFileName string
Résultat void

LoadDictFromRawText() public méthode

public LoadDictFromRawText ( string fullpath ) : void
fullpath string
Résultat void

Search() public méthode

public Search ( string inbuf, List &dm_r, List &offsetList, int opertype ) : int
inbuf string
dm_r List
offsetList List
opertype int
Résultat int