ddc
|
#include <MorphAutomat.h>
Public Member Functions | |
bool | CheckABCWithAnnotator (const string &WordForm) const |
bool | CheckABCWithoutAnnotator (const string &WordForm) const |
string | EncodeIntToAlphabet (DWORD v) const |
DWORD | DecodeFromAlphabet (const string &v) const |
string | GetCriticalNounLetterPack () const |
CABCEncoder (MorphLanguageEnum Language, BYTE AnnotChar) | |
Public Attributes | |
MorphLanguageEnum | m_Language |
const BYTE | m_AnnotChar |
int | m_AlphabetSize |
int | m_Alphabet2Code [256] |
int | m_Code2Alphabet [MaxAlphabetSize] |
int | m_AlphabetSizeWithoutAnnotator |
int | m_Alphabet2CodeWithoutAnnotator [256] |
int | m_Code2AlphabetWithoutAnnotator [MaxAlphabetSize] |
CABCEncoder::CABCEncoder | ( | MorphLanguageEnum | Language, |
BYTE | AnnotChar | ||
) |
References InitAlphabet(), m_Alphabet2Code, m_Alphabet2CodeWithoutAnnotator, m_AlphabetSize, m_AlphabetSizeWithoutAnnotator, m_AnnotChar, m_Code2Alphabet, m_Code2AlphabetWithoutAnnotator, and m_Language.
bool CABCEncoder::CheckABCWithAnnotator | ( | const string & | WordForm | ) | const |
References m_Alphabet2Code.
Referenced by CMorphAutomatBuilder::AddStringDaciuk().
bool CABCEncoder::CheckABCWithoutAnnotator | ( | const string & | WordForm | ) | const |
References m_Alphabet2CodeWithoutAnnotator.
Referenced by CLemmatizer::CheckABC().
string CABCEncoder::EncodeIntToAlphabet | ( | DWORD | v | ) | const |
References m_AlphabetSizeWithoutAnnotator, and m_Code2AlphabetWithoutAnnotator.
Referenced by CMorphDictBuilder::CreateAutomat(), and CMorphDictBuilder::GenPredictIdx().
DWORD CABCEncoder::DecodeFromAlphabet | ( | const string & | v | ) | const |
References m_Alphabet2CodeWithoutAnnotator, and m_AlphabetSizeWithoutAnnotator.
Referenced by CPredictBase::FindRecursive(), and CMorphAutomat::GetAllMorphInterpsRecursive().
string CABCEncoder::GetCriticalNounLetterPack | ( | ) | const |
References m_AnnotChar, and MinimalPredictionSuffix.
Referenced by CLemmatizer::CheckAbbreviation(), CMorphDictBuilder::GenPredictIdx(), and CLemmatizer::PredictByDataBase().
MorphLanguageEnum CABCEncoder::m_Language |
Referenced by CABCEncoder(), CLemmatizer::GetLanguage(), and CMorphAutomat::Load().
const BYTE CABCEncoder::m_AnnotChar |
int CABCEncoder::m_AlphabetSize |
Referenced by CABCEncoder().
int CABCEncoder::m_Alphabet2Code[256] |
int CABCEncoder::m_Code2Alphabet[MaxAlphabetSize] |
Referenced by CABCEncoder(), and CMorphAutomatBuilder::ConvertBuildRelationsToRelations().
int CABCEncoder::m_AlphabetSizeWithoutAnnotator |
Referenced by CABCEncoder(), DecodeFromAlphabet(), and EncodeIntToAlphabet().
int CABCEncoder::m_Alphabet2CodeWithoutAnnotator[256] |
Referenced by CABCEncoder(), CheckABCWithoutAnnotator(), and DecodeFromAlphabet().
int CABCEncoder::m_Code2AlphabetWithoutAnnotator[MaxAlphabetSize] |
Referenced by CABCEncoder(), and EncodeIntToAlphabet().