ddc
|
#include <DwdsThesaurus.h>
Public Member Functions | |
bool | LoadDwdsThesaurus () |
int | FindHyperTerm (const string &s) const |
void | GetAllPathesWhichContainHyperTermNo (size_t HyperTermNo, DwordVector &sub_pathes) const |
bool | ReadPathFromString (const string &TextPath, vector< int > &HyperTermNos) const |
void | GetAllPathesWhichStartFromThisSequence (const vector< int > &HyperTermNos, DwordVector &Result) const |
void | GetAllLemmasWhosePathesStartFromThisSequence (const vector< int > &HyperTermNos, StringSet &Lemmas) const |
string | GetAllThesInterpetations (const char *Lemma) const |
Private Attributes | |
StringVector | HyperTerms |
vector< DWORD > | Pathes |
vector< DWORD > | PathEndIndex |
vector< DWORD > | LeavesPathes |
CShortStringHolder | LeavesLemmas |
DwordVector | m_AllPathes |
bool CDwdsThesaurus::LoadDwdsThesaurus | ( | ) |
References GetThesaurusPath(), HyperTerms, LeavesLemmas, LeavesPathes, PathEndIndex, Pathes, CShortStringHolder::ReadShortStringHolder(), ReadVector(), and rtrim().
Referenced by LoadDwdsThesaurus().
int CDwdsThesaurus::FindHyperTerm | ( | const string & | s | ) | const |
References HyperTerms.
Referenced by ReadPathFromString().
void CDwdsThesaurus::GetAllPathesWhichContainHyperTermNo | ( | size_t | HyperTermNo, |
DwordVector & | sub_pathes | ||
) | const |
References PathEndIndex, and Pathes.
bool CDwdsThesaurus::ReadPathFromString | ( | const string & | TextPath, |
vector< int > & | HyperTermNos | ||
) | const |
References FindHyperTerm(), Trim(), and StringTokenizer::val().
void CDwdsThesaurus::GetAllPathesWhichStartFromThisSequence | ( | const vector< int > & | HyperTermNos, |
DwordVector & | Result | ||
) | const |
References PathEndIndex, and Pathes.
Referenced by GetAllLemmasWhosePathesStartFromThisSequence().
void CDwdsThesaurus::GetAllLemmasWhosePathesStartFromThisSequence | ( | const vector< int > & | HyperTermNos, |
StringSet & | Lemmas | ||
) | const |
References GetAllPathesWhichStartFromThisSequence(), LeavesLemmas, and LeavesPathes.
string CDwdsThesaurus::GetAllThesInterpetations | ( | const char * | Lemma | ) | const |
References HyperTerms, LeavesLemmas, LeavesPathes, PathEndIndex, and Pathes.
Referenced by CConcIndexator::IndexTextOrHtmlFile().
|
private |
Referenced by FindHyperTerm(), GetAllThesInterpetations(), and LoadDwdsThesaurus().
|
private |
|
private |
|
private |
Referenced by GetAllLemmasWhosePathesStartFromThisSequence(), GetAllThesInterpetations(), and LoadDwdsThesaurus().
|
private |
Referenced by GetAllLemmasWhosePathesStartFromThisSequence(), GetAllThesInterpetations(), and LoadDwdsThesaurus().
|
private |