#include <MorphDict.h>
◆ CMorphDict()
◆ ~CMorphDict()
CMorphDict::~CMorphDict |
( |
| ) |
|
|
virtual |
◆ GetLemmaInfos()
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().
◆ CreateModelsIndex()
void CMorphDict::CreateModelsIndex |
( |
| ) |
|
|
protected |
◆ InitAutomat()
◆ Load()
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().
◆ Save()
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().
◆ PredictBySuffix()
void CMorphDict::PredictBySuffix |
( |
const string & |
Text, |
|
|
size_t & |
TextOffset, |
|
|
size_t |
MinimalPredictSuffixlen, |
|
|
vector< CAutomAnnotationInner > & |
Infos |
|
) |
| const |
◆ GetAllMorphInterpsStr()
string CMorphDict::GetAllMorphInterpsStr |
( |
const string & |
Text, |
|
|
const size_t |
TextPos, |
|
|
bool |
bFullInterp |
|
) |
| const |
◆ m_pFormAutomat
Referenced by CLemmatizer::CheckAbbreviation(), CLemmatizer::CheckABC(), CMorphDict(), CMorphDictBuilder::GetFormBuilder(), CLemmatizer::GetLanguage(), InitAutomat(), CLemmatizer::LemmatizeWord(), Load(), CLemmatizer::PredictByDataBase(), PredictBySuffix(), Save(), and ~CMorphDict().
◆ m_ModelsIndex
vector<int> CMorphDict::m_ModelsIndex |
|
protected |
◆ m_SearchInfoLess
◆ m_FlexiaModels
◆ m_AccentModels
◆ m_Bases
◆ m_LemmaInfos
Referenced by CLemmatizer::ConvertPredictTupleToAnnot(), CreateModelsIndex(), CMorphDictBuilder::GenerateLemmas(), CLemmatizer::GetAllAncodesQuick(), CFormInfo::GetLemmaInfo(), GetLemmaInfos(), CLemmatizer::LemmatizeWord(), Load(), CLemmatizer::LoadDictionariesRegistry(), CLemmatizer::PredictByDataBase(), Save(), and CFormInfo::SetParadigmId().
◆ m_Prefixes
◆ m_NPSs
vector<BYTE> CMorphDict::m_NPSs |
The documentation for this class was generated from the following files: