#include <MorphDict.h>
CMorphDict::CMorphDict | ( | MorphLanguageEnum | Language | ) |
References m_pFormAutomat.
CMorphDict::~CMorphDict | ( | ) | [virtual] |
References m_pFormAutomat.
void CMorphDict::GetLemmaInfos | ( | const string & | Text, | |
size_t | TextPos, | |||
vector< CAutomAnnotationInner > & | Infos | |||
) | const [protected] |
References m_Bases, CFlexiaModel::m_Flexia, m_FlexiaModels, CMorphForm::m_FlexiaStr, CAutomAnnotationInner::m_ItemNo, m_LemmaInfos, CAutomAnnotationInner::m_ModelNo, m_ModelsIndex, m_Prefixes, CAutomAnnotationInner::m_PrefixNo, CMorphForm::m_PrefixStr, and m_SearchInfoLess.
Referenced by CLemmatizer::LemmatizeWord().
void CMorphDict::CreateModelsIndex | ( | ) | [protected] |
References m_FlexiaModels, m_LemmaInfos, and m_ModelsIndex.
Referenced by Load().
void CMorphDict::InitAutomat | ( | CMorphAutomat * | pFormAutomat | ) |
References m_pFormAutomat.
Referenced by CLemmatizer::CLemmatizer(), and CMorphDictBuilder::CMorphDictBuilder().
bool CMorphDict::Load | ( | string | GrammarFileName | ) |
References CreateModelsIndex(), ErrorMessage(), Format(), CMorphAutomat::Load(), m_AccentModels, m_Bases, m_FlexiaModels, m_LemmaInfos, m_NPSs, m_pFormAutomat, m_Prefixes, MakeFName(), ReadAccentModels(), ReadFlexiaModels(), CShortStringHolder::ReadShortStringHolder(), ReadVectorInner(), and Trim().
Referenced by CLemmatizer::LoadDictionariesRegistry().
bool CMorphDict::Save | ( | string | GrammarFileName | ) | const |
References ErrorMessage(), Format(), m_AccentModels, m_Bases, m_FlexiaModels, m_LemmaInfos, m_NPSs, m_pFormAutomat, m_Prefixes, MakeFName(), CMorphAutomat::Save(), WriteAccentModels(), WriteFlexiaModels(), CShortStringHolder::WriteShortStringHolder(), and WriteVectorInner().
void CMorphDict::PredictBySuffix | ( | const string & | Text, | |
size_t & | TextOffset, | |||
size_t | MinimalPredictSuffixlen, | |||
vector< CAutomAnnotationInner > & | Infos | |||
) | const |
References CMorphAutomat::GetInnerMorphInfos(), and m_pFormAutomat.
Referenced by CLemmatizer::LemmatizeWord().
string CMorphDict::GetAllMorphInterpsStr | ( | const string & | Text, | |
const size_t | TextPos, | |||
bool | bFullInterp | |||
) | const |
CMorphAutomat* CMorphDict::m_pFormAutomat [protected] |
vector<int> CMorphDict::m_ModelsIndex [protected] |
Referenced by CreateModelsIndex(), and GetLemmaInfos().
IsLessMorphInterp CMorphDict::m_SearchInfoLess [protected] |
Referenced by GetLemmaInfos().
Referenced by CMorphDictBuilder::CreateAutomat(), CFormInfo::GetAccentedVowel(), Load(), and Save().
Referenced by CMorphDictBuilder::GenerateLemmas(), GetLemmaInfos(), CFormInfo::GetSrcNorm(), Load(), and Save().
Referenced by CLemmatizer::ConvertPredictTupleToAnnot(), CreateModelsIndex(), CMorphDictBuilder::GenerateLemmas(), CLemmatizer::GetAllAncodesQuick(), CFormInfo::GetLemmaInfo(), GetLemmaInfos(), CLemmatizer::LemmatizeWord(), Load(), CLemmatizer::LoadDictionariesRegistry(), CLemmatizer::PredictByDataBase(), Save(), and CFormInfo::SetParadigmId().
vector<BYTE> CMorphDict::m_NPSs |
Referenced by CMorphDictBuilder::GenerateUnitedFlexModels(), CLemmatizer::LemmatizeWord(), Load(), and Save().