#include <Predict.h>
CPredictBase::CPredictBase | ( | MorphLanguageEnum | langua | ) |
void CPredictBase::FindRecursive | ( | int | r, | |
string & | curr_path, | |||
vector< CPredictTuple > & | Infos | |||
) | const [private] |
References CABCEncoder::DecodeFromAlphabet(), CMorphAutomRelation::GetChildNo(), CMorphAutomat::GetChildren(), CMorphAutomat::GetChildrenCount(), CMorphAutomat::GetNode(), CMorphAutomRelation::GetRelationalChar(), CMorphAutomNode::IsFinal(), CABCEncoder::m_AnnotChar, CPredictTuple::m_ItemNo, CPredictTuple::m_LemmaInfoNo, CPredictTuple::m_PartOfSpeechNo, and m_SuffixAutomat.
Referenced by Find().
void CPredictBase::Load | ( | const string & | path | ) |
References CMorphAutomat::Load(), and m_SuffixAutomat.
Referenced by CLemmatizer::LoadDictionariesRegistry().
bool CPredictBase::Find | ( | const string & | lettId, | |
vector< CPredictTuple > & | res | |||
) | const |
References FindRecursive(), m_SuffixAutomat, MinimalPredictionSuffix, and CMorphAutomat::NextNode().
Referenced by CLemmatizer::CheckAbbreviation(), and CLemmatizer::PredictByDataBase().
CMorphAutomat CPredictBase::m_SuffixAutomat [private] |
Referenced by Find(), FindRecursive(), and Load().
Referenced by CLemmatizer::LoadDictionariesRegistry(), and CLemmatizer::PredictByDataBase().