#include <Homonym.h>
CHomonym::CHomonym | ( | const CAgramtab * | pGramTab | ) |
References m_bCmplLem, m_bDelete, m_bInOb, m_bOborot1, m_bOborot2, m_bRussianOdin, m_iCmpnLen, m_lFreqHom, m_lPradigmID, and m_OborotNo.
bool CHomonym::operator< | ( | const CHomonym & | hom | ) | const [inline] |
References m_strLemma.
bool CHomonym::HasSetOfGrammemsExact | ( | QWORD | Grammems | ) | const |
References CAgramtab::GetGrammems(), CAncodePattern::GetGramTab(), and CAncodePattern::m_GramCodes.
bool CHomonym::IsOb1 | ( | ) | const |
References m_bOborot1.
bool CHomonym::IsOb2 | ( | ) | const |
References m_bOborot2.
bool CHomonym::IsIsOb | ( | ) | const |
References m_bInOb.
bool CHomonym::IsLemma | ( | const char * | lemma | ) | const |
References m_strLemma.
Referenced by CLemWord::FindLemma(), and CLemWord::HasAnalyticalBe().
bool CHomonym::IsMorphNoun | ( | ) | const |
References CAncodePattern::GetGramTab(), CAgramtab::IsMorphNoun(), and CAncodePattern::m_iPoses.
bool CHomonym::IsSynNoun | ( | ) | const |
References CAncodePattern::GetGramTab(), CAgramtab::IsSynNoun(), CAncodePattern::m_iPoses, and m_strLemma.
Referenced by CLemWord::CanBeSynNoun().
bool CHomonym::IsLeftNounModifier | ( | ) | const |
References CAncodePattern::GetGramTab(), CAgramtab::is_left_noun_modifier(), CAncodePattern::m_iGrammems, and CAncodePattern::m_iPoses.
void CHomonym::DeleteOborotMarks | ( | ) |
References m_bInOb, m_bOborot1, m_bOborot2, and m_OborotNo.
Referenced by CLemWord::DeleteOborotMarks().
bool CHomonym::ProcessLemmaAndGrammems | ( | const char * | strLemma | ) |
References ErrorMessage(), Format(), m_bCmplLem, CAncodePattern::m_CommonGramCode, CAncodePattern::m_GramCodes, m_iCmpnLen, CAncodePattern::m_LemSign, m_lFreqHom, m_lPradigmID, m_strLemma, SetLemma(), and StringTokenizer::val().
Referenced by CLemWord::AddNextHomonym(), and CLemWord::ProcessPlmLineForTheFirstHomonym().
void CHomonym::SetLemma | ( | string | Lemma | ) |
References GerMakeUpper(), and m_strLemma.
Referenced by ProcessLemmaAndGrammems(), and CLemWord::ProcessPlmLineForTheFirstHomonym().
string CHomonym::GetGrammemsStr | ( | ) | const |
void CHomonym::SetMorphUnknown | ( | ) |
Reimplemented from CAncodePattern.
References m_lPradigmID.
void CHomonym::SetHomonym | ( | const CFormInfo * | F | ) |
References CFormInfo::GetCommonAncode(), CFormInfo::GetLemSign(), CFormInfo::GetParadigmId(), CFormInfo::GetSrcAncode(), CFormInfo::GetWordForm(), CAncodePattern::InitAncodePattern(), CAncodePattern::m_CommonGramCode, CAncodePattern::m_GramCodes, CAncodePattern::m_LemSign, m_lPradigmID, and m_strLemma.
string CHomonym::m_strLemma |
Referenced by CLemWord::GetDebugString(), CLemWord::GetPlmStr(), IsLemma(), IsSynNoun(), operator<(), ProcessLemmaAndGrammems(), SetHomonym(), and SetLemma().
long CHomonym::m_lFreqHom |
Referenced by CHomonym(), CLemWord::GetPlmStr(), and ProcessLemmaAndGrammems().
bool CHomonym::m_bOborot1 |
bool CHomonym::m_bOborot2 |
bool CHomonym::m_bInOb |
Referenced by CHomonym(), CLemWord::GetPlmStr(), ProcessLemmaAndGrammems(), SetHomonym(), and SetMorphUnknown().
size_t CHomonym::m_iCmpnLen |
Referenced by CHomonym(), and ProcessLemmaAndGrammems().
bool CHomonym::m_bCmplLem |
Referenced by CHomonym(), and ProcessLemmaAndGrammems().
Referenced by CHomonym().
bool CHomonym::m_bDelete |
Referenced by CHomonym(), CLemWord::SetAllOtherHomsDel(), and CLemWord::SetHomonymsDel().