#include <Paradigm.h>
CFormInfo::CFormInfo | ( | ) |
References m_bFound, m_InnerAnnot, CAutomAnnotationInner::m_LemmaInfoNo, and m_pParent.
const CLemmaInfoAndLemma & CFormInfo::GetLemmaInfo | ( | ) | const [private] |
References m_InnerAnnot, CAutomAnnotationInner::m_LemmaInfoNo, CMorphDict::m_LemmaInfos, and m_pParent.
Referenced by GetAccentedVowel(), GetCommonAncode(), GetFlexiaModel(), GetSrcAncode(), and GetSrcNorm().
const CFlexiaModel & CFormInfo::GetFlexiaModel | ( | ) | const [private] |
References GetLemmaInfo(), CLemmaInfo::m_FlexiaModelNo, CMorphDict::m_FlexiaModels, CLemmaInfoAndLemma::m_LemmaInfo, and m_pParent.
Referenced by Create(), GetAncode(), GetCount(), GetSrcAncode(), GetSrcNorm(), GetWordForm(), and SetParadigmId().
bool CFormInfo::IsValid | ( | ) | const [private] |
References m_InnerAnnot, CAutomAnnotationInner::m_LemmaInfoNo, and m_pParent.
Referenced by GetAccentedVowel(), GetAncode(), GetCommonAncode(), GetCount(), GetHomonymWeight(), GetHomonymWeightWithForm(), GetLemmaPrefixLength(), GetParadigmId(), GetSrcAncode(), GetSrcNorm(), GetWordForm(), and GetWordWeight().
void CFormInfo::Create | ( | const CLemmatizer * | pParent, | |
const CAutomAnnotationInner & | A, | |||
const string & | InputWordForm, | |||
bool | bFound | |||
) |
References GetFlexiaModel(), m_bFlexiaWasCut, m_bFound, m_bPrefixesWereCut, CFlexiaModel::m_Flexia, CMorphForm::m_FlexiaStr, m_InnerAnnot, m_InputWordBase, CAutomAnnotationInner::m_ItemNo, m_pParent, CMorphDict::m_Prefixes, CAutomAnnotationInner::m_PrefixNo, and CMorphForm::m_PrefixStr.
Referenced by CLemmatizer::CreateParadigmCollection().
void CFormInfo::Copy | ( | const CFormInfo & | from | ) |
References m_bFlexiaWasCut, m_bFound, m_bPrefixesWereCut, m_InnerAnnot, m_InputWordBase, m_pParent, and m_UserPrefix.
void CFormInfo::AttachLemmatizer | ( | const CLemmatizer * | parent | ) |
References m_pParent.
Referenced by CLemmatizer::CreateParadigmFromID().
bool CFormInfo::SetParadigmId | ( | DWORD | newVal | ) |
References CFlexiaModel::get_first_flex(), CStatistic::get_HomoWeight(), GetFlexiaModel(), CAutomAnnotationInner::GetParadigmId(), GetSrcNorm(), CLemmatizer::GetStatistic(), m_bFlexiaWasCut, m_bFound, m_bPrefixesWereCut, m_InnerAnnot, m_InputWordBase, CAutomAnnotationInner::m_ItemNo, CAutomAnnotationInner::m_LemmaInfoNo, CMorphDict::m_LemmaInfos, CAutomAnnotationInner::m_ModelNo, CAutomAnnotationInner::m_nWeight, m_pParent, CMorphDict::m_Prefixes, CAutomAnnotationInner::m_PrefixNo, and CAutomAnnotationInner::SplitParadigmId().
Referenced by CLemmatizer::CreateParadigmFromID().
DWORD CFormInfo::GetParadigmId | ( | ) | const |
References ErrorParadigmId, CAutomAnnotationInner::GetParadigmId(), IsValid(), m_bFound, and m_InnerAnnot.
Referenced by FormatAsInPlmLine(), GetHomonymWeightWithForm(), CMorphologyHolder::GetParadigmIdsByNormAndAncode(), GetWordWeight(), CHomonym::SetHomonym(), and CMorphologyHolder::string_to_ids().
DWORD CFormInfo::GetCount | ( | ) | const |
References GetFlexiaModel(), IsValid(), and CFlexiaModel::m_Flexia.
Referenced by GetParadigmFromDictionary(), and GetWordForms().
string CFormInfo::GetSrcNorm | ( | ) | const |
References CFlexiaModel::get_first_flex(), GetFlexiaModel(), GetLemmaInfo(), IsValid(), CMorphDict::m_Bases, CLemmaInfoAndLemma::m_LemmaStrNo, and m_pParent.
Referenced by GetStringByParadigm(), and SetParadigmId().
int CFormInfo::GetHomonymWeightWithForm | ( | WORD | pos | ) | const |
References CStatistic::get_HomoWeight(), GetParadigmId(), CLemmatizer::GetStatistic(), IsValid(), and m_pParent.
int CFormInfo::GetWordWeight | ( | ) | const |
References CStatistic::get_WordWeight(), GetParadigmId(), CLemmatizer::GetStatistic(), IsValid(), and m_pParent.
string CFormInfo::GetAncode | ( | WORD | pos | ) | const |
References GetFlexiaModel(), IsValid(), and CFlexiaModel::m_Flexia.
Referenced by GetParadigmFromDictionary(), CMorphologyHolder::GetParadigmIdsByNormAndAncode(), and GetStringByParadigm().
string CFormInfo::GetWordForm | ( | WORD | pos | ) | const |
References GetFlexiaModel(), IsValid(), m_bFlexiaWasCut, m_bPrefixesWereCut, CFlexiaModel::m_Flexia, CMorphForm::m_FlexiaStr, m_InnerAnnot, m_InputWordBase, m_pParent, CMorphDict::m_Prefixes, CAutomAnnotationInner::m_PrefixNo, CMorphForm::m_PrefixStr, and m_UserPrefix.
Referenced by FormatAsInPlmLine(), GetAccentedVowel(), GetParadigmFromDictionary(), GetStringByParadigm(), GetWordForms(), CMorphologyHolder::id_to_string(), and CHomonym::SetHomonym().
string CFormInfo::GetSrcAncode | ( | ) | const |
References GetFlexiaModel(), GetLemmaInfo(), IsValid(), CFlexiaModel::m_Flexia, m_InnerAnnot, and CAutomAnnotationInner::m_ItemNo.
Referenced by FormatAsInPlmLine(), GetStringByParadigm(), and CHomonym::SetHomonym().
int CFormInfo::GetHomonymWeight | ( | ) | const |
References IsValid(), m_bFound, m_InnerAnnot, and CAutomAnnotationInner::m_nWeight.
Referenced by FormatAsInPlmLine().
References CLemmatizer::GetLanguage(), GetLemmaInfo(), GetWordForm(), IsValid(), CLemmaInfo::m_AccentModelNo, CMorphDict::m_AccentModels, m_bFound, CLemmaInfoAndLemma::m_LemmaInfo, m_pParent, RmlMakeLower(), TransferReverseVowelNoToCharNo(), UnknownAccent, and UnknownAccentModelNo.
Referenced by GetParadigmFromDictionary(), and GetSrcAccentedVowel().
BYTE CFormInfo::GetSrcAccentedVowel | ( | ) | const |
References GetAccentedVowel(), m_InnerAnnot, and CAutomAnnotationInner::m_ItemNo.
string CFormInfo::GetCommonAncode | ( | ) | const |
References CLemmaInfo::GetCommonAncodeIfCan(), GetLemmaInfo(), IsValid(), and CLemmaInfoAndLemma::m_LemmaInfo.
Referenced by FormatAsInPlmLine(), GetStringByParadigm(), and CHomonym::SetHomonym().
char CFormInfo::GetLemSign | ( | ) | const |
References m_bFound.
Referenced by FormatAsInPlmLine(), and CHomonym::SetHomonym().
size_t CFormInfo::GetLemmaPrefixLength | ( | ) | const |
References IsValid(), m_bFound, m_InnerAnnot, m_pParent, CMorphDict::m_Prefixes, and CAutomAnnotationInner::m_PrefixNo.
string CFormInfo::FormatAsInPlmLine | ( | ) | const |
References Format(), GetCommonAncode(), GetHomonymWeight(), GetLemSign(), GetParadigmId(), GetSrcAncode(), GetWordForm(), and m_bFound.
void CFormInfo::SetUserPrefix | ( | const string & | UserPrefix | ) |
References m_UserPrefix.
Referenced by CreateDecartProduction().
void CFormInfo::SetUserUnknown | ( | ) |
References m_bFound.
bool CFormInfo::m_bPrefixesWereCut [private] |
Referenced by Copy(), Create(), GetWordForm(), and SetParadigmId().
bool CFormInfo::m_bFlexiaWasCut [private] |
Referenced by Copy(), Create(), GetWordForm(), and SetParadigmId().
string CFormInfo::m_UserPrefix [private] |
Referenced by Copy(), GetWordForm(), and SetUserPrefix().
CAutomAnnotationInner CFormInfo::m_InnerAnnot [private] |
const CLemmatizer* CFormInfo::m_pParent |
string CFormInfo::m_InputWordBase |
Referenced by Copy(), Create(), GetWordForm(), and SetParadigmId().
bool CFormInfo::m_bFound |
Referenced by CFormInfo(), Copy(), Create(), FormatAsInPlmLine(), GetAccentedVowel(), GetHomonymWeight(), GetLemmaPrefixLength(), GetLemSign(), GetParadigmId(), CMorphologyHolder::GetParadigmIdsByNormAndAncode(), GetStringByParadigm(), SetParadigmId(), SetUserUnknown(), and CMorphologyHolder::string_to_ids().