#include <MorphologyHolder.h>
CMorphologyHolder::CMorphologyHolder | ( | ) |
References m_bTimeStatis, m_pGramTab, and m_pLemmatizer.
CMorphologyHolder::~CMorphologyHolder | ( | ) |
bool CMorphologyHolder::GetMorphology | ( | string | str, | |
bool | bFile, | |||
int & | CountOfWords | |||
) |
References CUnitHolder::FreeTable(), CGraphmatFile::GetTokenLanguage(), CUnitHolder::GetTokensCount(), CGraphmatFile::LoadFileToGraphan(), CGraphmatFile::LoadStringToGraphan(), m_bTimeStatis, m_CurrentLanguage, m_Graphan, m_pLemmatizer, m_PlmLines, CLemmatizer::ProcessHyphenWords(), and CPlmLineCollection::ProcessPlmLines().
Referenced by CSyntaxHolder::GetSentencesFromSynAn().
bool CMorphologyHolder::LoadGraphanAndLemmatizer | ( | MorphLanguageEnum | langua | ) |
References DeleteProcessors(), ErrorMessage(), CGraphmatFile::FreeDicts(), CLemmatizer::LoadDictionariesRegistry(), CGraphmatFile::LoadDicts(), CAgramtab::LoadFromRegistry(), m_CurrentLanguage, m_Graphan, CUnitHolder::m_Language, m_pGramTab, CPlmLineCollection::m_pLemmatizer, m_pLemmatizer, m_PlmLines, morphEnglish, morphGerman, and morphRussian.
Referenced by CSyntaxHolder::LoadSyntax().
void CMorphologyHolder::DeleteProcessors | ( | ) |
References m_pGramTab, and m_pLemmatizer.
Referenced by LoadGraphanAndLemmatizer(), and ~CMorphologyHolder().
DwordVector CMorphologyHolder::GetParadigmIdsByNormAndAncode | ( | std::string & | str, | |
const std::string & | code | |||
) | const |
References CLemmatizer::CreateParadigmCollection(), Format(), CFormInfo::GetAncode(), CFormInfo::GetParadigmId(), CFormInfo::m_bFound, and m_pLemmatizer.
void CMorphologyHolder::string_to_ids | ( | const char * | str, | |
DwordVector & | ids, | |||
bool | bNorm | |||
) | const |
References CLemmatizer::CreateParadigmCollection(), CFormInfo::GetParadigmId(), CFormInfo::m_bFound, and m_pLemmatizer.
std::string CMorphologyHolder::id_to_string | ( | long | id | ) | const |
References CLemmatizer::CreateParadigmFromID(), Format(), CFormInfo::GetWordForm(), and m_pLemmatizer.
CFormInfo CMorphologyHolder::id_to_paradigm | ( | long | id | ) | const |
References CLemmatizer::CreateParadigmFromID(), Format(), and m_pLemmatizer.
Referenced by CMorphologyHolder(), GetMorphology(), and CSyntaxHolder::GetSentencesFromSynAn().
Referenced by GetMorphology(), LoadGraphanAndLemmatizer(), and CSyntaxHolder::LoadSyntax().
Referenced by GetMorphology(), CSyntaxHolder::GetSentencesFromSynAn(), and LoadGraphanAndLemmatizer().
Referenced by GetMorphology(), LoadGraphanAndLemmatizer(), and CSyntaxHolder::LoadSyntax().