#include <LemWord.h>
CLemWord::CLemWord | ( | ) |
int CLemWord::ProcessGraphematicalDescriptors | ( | const char * | LineStr | ) | [private] |
References _QM, GetMorphSignPosition(), HasDes(), is_roman_number(), LowLow, m_bComma, m_bDash, m_bSpace, m_bWord, m_GraDescrs, m_Register, m_strWord, m_UnparsedGraphemDescriptorsStr, OEOLN, OLLE, OLw, ORLE, ORoman, OSpc, OUp, OUpLw, parse_gra_descriptors(), StupidSymbol1, UpLow, and UpUp.
Referenced by AddNextHomonym(), and ProcessPlmLineForTheFirstHomonym().
void CLemWord::DeleteOborotMarks | ( | ) |
References DelDes(), CHomonym::DeleteOborotMarks(), GetHomonym(), GetHomonymsCount(), m_UnparsedGraphemDescriptorsStr, OEXPR1, and OEXPR2.
bool CLemWord::AddNextHomonym | ( | const char * | strPlmLine | ) |
References AddNewHomonym(), CriticalGraphemLineLength, GetHomonym(), GetHomonymsCount(), InitLevelSpecific(), CHomonym::m_bInOb, CHomonym::m_bOborot1, CHomonym::m_bOborot2, CHomonym::m_OborotNo, ProcessGraphematicalDescriptors(), CHomonym::ProcessLemmaAndGrammems(), and rtrim().
bool CLemWord::ProcessPlmLineForTheFirstHomonym | ( | const char * | strPlmLine, | |
MorphLanguageEnum | langua, | |||
int & | OborotNo | |||
) |
References AddNewHomonym(), CriticalGraphemLineLength, CriticalTokenLength, DelDes(), HasDes(), InitLevelSpecific(), CHomonym::m_bInOb, CHomonym::m_bOborot1, CHomonym::m_bOborot2, m_bPredicted, m_bSpace, m_GraphematicalUnitOffset, CAncodePattern::m_LemSign, CHomonym::m_OborotNo, m_strWord, m_TokenLengthInFile, m_UnparsedGraphemDescriptorsStr, OEXPR1, OEXPR2, OPun, ParseOborotNo(), ProcessGraphematicalDescriptors(), CHomonym::ProcessLemmaAndGrammems(), rtrim(), CHomonym::SetLemma(), and SetWordStr().
bool CLemWord::HasDes | ( | Descriptors | g | ) | const |
References _QM, and m_GraDescrs.
Referenced by BuildGraphemDescr(), IsFirstOfGraPair(), IsSecondOfGraPair(), ProcessGraphematicalDescriptors(), and ProcessPlmLineForTheFirstHomonym().
void CLemWord::DelDes | ( | Descriptors | g | ) |
References _QM, and m_GraDescrs.
Referenced by DeleteOborotMarks(), and ProcessPlmLineForTheFirstHomonym().
void CLemWord::AddDes | ( | Descriptors | g | ) |
References _QM, and m_GraDescrs.
void CLemWord::Reset | ( | ) |
References m_bComma, m_bDash, m_bDeleted, m_bHasSpaceBefore, m_bPredicted, m_bSpace, m_bWord, m_GraDescrs, m_GraphematicalUnitOffset, m_Register, and m_TokenLengthInFile.
Referenced by CLemWord().
void CLemWord::SetWordStr | ( | string | NewValue, | |
MorphLanguageEnum | langua | |||
) |
References m_strUpperWord, m_strWord, and RmlMakeUpper().
Referenced by ProcessPlmLineForTheFirstHomonym().
bool CLemWord::FindLemma | ( | string | strLemma | ) | const |
References GetHomonym(), GetHomonymsCount(), and CHomonym::IsLemma().
int CLemWord::GetHomonymByPOS | ( | BYTE | POS | ) | const |
References GetHomonym(), GetHomonymsCount(), and CAncodePattern::HasPos().
Referenced by HasPos().
bool CLemWord::HasPos | ( | BYTE | POS | ) | const |
References GetHomonymByPOS().
Referenced by HasAnalyticalBe().
bool CLemWord::HasGrammem | ( | BYTE | Grammem | ) | const |
int CLemWord::GetHomonymByGrammem | ( | BYTE | grammem | ) | const |
References GetHomonym(), GetHomonymsCount(), and CAncodePattern::HasGrammem().
Referenced by HasGrammem().
References GetHomonym(), GetHomonymsCount(), CAncodePattern::HasGrammem(), and CAncodePattern::HasPos().
int CLemWord::GetHomonymByPosesandGrammem | ( | size_t | Poses, | |
BYTE | grammem | |||
) | const |
References GetHomonym(), GetHomonymsCount(), CAncodePattern::HasGrammem(), and CAncodePattern::m_iPoses.
bool CLemWord::IsWordUpper | ( | const char * | s | ) | const [inline] |
References m_strUpperWord.
void CLemWord::SetAllOtherHomsDel | ( | int | iHom | ) |
References GetHomonym(), GetHomonymsCount(), and CHomonym::m_bDelete.
virtual size_t CLemWord::GetHomonymsCount | ( | ) | const [pure virtual] |
Referenced by AddNextHomonym(), CanBeSynNoun(), DeleteMarkedHomonymsBeforeClauses(), DeleteOborotMarks(), FindLemma(), GetGrammems(), GetHomonymByGrammem(), GetHomonymByPOS(), GetHomonymByPOSandGrammem(), GetHomonymByPosesandGrammem(), GetPoses(), HasAnalyticalBe(), HasOborot1(), HasOborot2(), IsInOborot(), KillHomonymOfPartOfSpeech(), SetAllOtherHomsDel(), and SetHomonymsDel().
virtual const CHomonym* CLemWord::GetHomonym | ( | int | i | ) | const [pure virtual] |
Referenced by AddNextHomonym(), CanBeSynNoun(), DeleteMarkedHomonymsBeforeClauses(), DeleteOborotMarks(), FindLemma(), GetGrammems(), GetHomonymByGrammem(), GetHomonymByPOS(), GetHomonymByPOSandGrammem(), GetHomonymByPosesandGrammem(), GetOborotNo(), GetPoses(), HasAnalyticalBe(), HasOborot1(), HasOborot2(), IsInOborot(), KillHomonymOfPartOfSpeech(), SetAllOtherHomsDel(), and SetHomonymsDel().
virtual CHomonym* CLemWord::GetHomonym | ( | int | i | ) | [pure virtual] |
virtual void CLemWord::EraseHomonym | ( | int | iHom | ) | [pure virtual] |
Referenced by DeleteMarkedHomonymsBeforeClauses(), and KillHomonymOfPartOfSpeech().
virtual CHomonym* CLemWord::AddNewHomonym | ( | ) | [pure virtual] |
Referenced by AddNextHomonym(), and ProcessPlmLineForTheFirstHomonym().
void CLemWord::DeleteMarkedHomonymsBeforeClauses | ( | ) |
References EraseHomonym(), GetHomonym(), and GetHomonymsCount().
void CLemWord::SetHomonymsDel | ( | bool | Value | ) |
References GetHomonym(), GetHomonymsCount(), and CHomonym::m_bDelete.
bool CLemWord::IsFirstOfGraPair | ( | EGraPairType | type | ) | const |
References GermanDividedCompound, HasDes(), Keyb, Oborot, OEXPR1, OFile1, OGerDivComp1, OKey1, and WebAddr.
bool CLemWord::IsFirstOfGraPair | ( | ) | const |
bool CLemWord::IsSecondOfGraPair | ( | EGraPairType | type | ) | const |
References GermanDividedCompound, HasDes(), Keyb, Oborot, OEXPR2, OFile2, OGerDivComp2, OKey2, and WebAddr.
bool CLemWord::IsSecondOfGraPair | ( | ) | const |
int CLemWord::GetOborotNo | ( | ) | const |
bool CLemWord::HasOborot1 | ( | ) | const |
References GetHomonym(), GetHomonymsCount(), and CHomonym::m_bOborot1.
bool CLemWord::HasOborot2 | ( | ) | const |
References GetHomonym(), GetHomonymsCount(), and CHomonym::m_bOborot2.
bool CLemWord::IsInOborot | ( | ) | const |
References GetHomonym(), GetHomonymsCount(), and CHomonym::m_bInOb.
Referenced by HasAnalyticalBe().
bool CLemWord::CanBeSynNoun | ( | ) | const |
References GetHomonym(), GetHomonymsCount(), and CHomonym::IsSynNoun().
void CLemWord::KillHomonymOfPartOfSpeech | ( | int | iPartOfSpeech | ) |
References EraseHomonym(), GetHomonym(), GetHomonymsCount(), and CAncodePattern::HasPos().
virtual void CLemWord::InitLevelSpecific | ( | CHomonym * | pHom | ) | [inline, virtual] |
Referenced by AddNextHomonym(), and ProcessPlmLineForTheFirstHomonym().
string CLemWord::GetPlmStr | ( | const CHomonym * | pHomonym, | |
bool | bFirstHomonym | |||
) | const |
References BuildGraphemDescr(), Format(), CAncodePattern::m_CommonGramCode, CAncodePattern::m_GramCodes, m_GraphematicalUnitOffset, CAncodePattern::m_LemSign, CHomonym::m_lFreqHom, CHomonym::m_lPradigmID, CHomonym::m_strLemma, m_strWord, and m_TokenLengthInFile.
string CLemWord::GetDebugString | ( | const CHomonym * | pHomonym, | |
bool | bFirstHomonym | |||
) | const |
References BuildGraphemDescr(), Format(), CAncodePattern::GetGramTab(), CAgramtab::GetTabStringByGramCode(), CAncodePattern::m_CommonGramCode, CAncodePattern::m_GramCodes, m_GraphematicalUnitOffset, CAncodePattern::m_LemSign, CHomonym::m_strLemma, m_strWord, and m_TokenLengthInFile.
string CLemWord::BuildGraphemDescr | ( | ) | const |
References GetDescriptorStr(), HasDes(), and m_UnparsedGraphemDescriptorsStr.
Referenced by GetDebugString(), and GetPlmStr().
size_t CLemWord::GetPoses | ( | ) | const |
References GetHomonym(), GetHomonymsCount(), and CAncodePattern::m_iPoses.
QWORD CLemWord::GetGrammems | ( | ) | const |
References GetHomonym(), GetHomonymsCount(), and CAncodePattern::m_iGrammems.
bool CLemWord::HasAnalyticalBe | ( | ) | const |
References GetHomonym(), GetHomonymsCount(), HasPos(), INFINITIVE, IsInOborot(), CHomonym::IsLemma(), m_bPredicted, and VERB.
QWORD CLemWord::m_GraDescrs [private] |
Referenced by AddDes(), DelDes(), HasDes(), ProcessGraphematicalDescriptors(), and Reset().
string CLemWord::m_strWord |
Referenced by GetDebugString(), GetPlmStr(), ProcessGraphematicalDescriptors(), ProcessPlmLineForTheFirstHomonym(), and SetWordStr().
string CLemWord::m_strUpperWord |
Referenced by IsWordUpper(), and SetWordStr().
bool CLemWord::m_bSpace |
Referenced by ProcessGraphematicalDescriptors(), ProcessPlmLineForTheFirstHomonym(), and Reset().
bool CLemWord::m_bWord |
Referenced by ProcessGraphematicalDescriptors(), and Reset().
bool CLemWord::m_bComma |
Referenced by ProcessGraphematicalDescriptors(), and Reset().
bool CLemWord::m_bDash |
Referenced by ProcessGraphematicalDescriptors(), and Reset().
Referenced by ProcessGraphematicalDescriptors(), and Reset().
Referenced by GetDebugString(), GetPlmStr(), ProcessPlmLineForTheFirstHomonym(), and Reset().
Referenced by GetDebugString(), GetPlmStr(), ProcessPlmLineForTheFirstHomonym(), and Reset().
Referenced by Reset().
bool CLemWord::m_bDeleted |
Referenced by Reset().
Referenced by HasAnalyticalBe(), ProcessPlmLineForTheFirstHomonym(), and Reset().