ddc
Public Member Functions | Public Attributes | List of all members
CABCEncoder Class Reference

#include <MorphAutomat.h>

Inheritance diagram for CABCEncoder:
Inheritance graph
[legend]

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]
 

Constructor & Destructor Documentation

◆ CABCEncoder()

CABCEncoder::CABCEncoder ( MorphLanguageEnum  Language,
BYTE  AnnotChar 
)

Member Function Documentation

◆ CheckABCWithAnnotator()

bool CABCEncoder::CheckABCWithAnnotator ( const string &  WordForm) const

References m_Alphabet2Code.

Referenced by CMorphAutomatBuilder::AddStringDaciuk().

Here is the caller graph for this function:

◆ CheckABCWithoutAnnotator()

bool CABCEncoder::CheckABCWithoutAnnotator ( const string &  WordForm) const

References m_Alphabet2CodeWithoutAnnotator.

Referenced by CLemmatizer::CheckABC().

Here is the caller graph for this function:

◆ EncodeIntToAlphabet()

string CABCEncoder::EncodeIntToAlphabet ( DWORD  v) const

References m_AlphabetSizeWithoutAnnotator, and m_Code2AlphabetWithoutAnnotator.

Referenced by CMorphDictBuilder::CreateAutomat(), and CMorphDictBuilder::GenPredictIdx().

Here is the caller graph for this function:

◆ DecodeFromAlphabet()

DWORD CABCEncoder::DecodeFromAlphabet ( const string &  v) const

◆ GetCriticalNounLetterPack()

string CABCEncoder::GetCriticalNounLetterPack ( ) const

References m_AnnotChar, and MinimalPredictionSuffix.

Referenced by CLemmatizer::CheckAbbreviation(), CMorphDictBuilder::GenPredictIdx(), and CLemmatizer::PredictByDataBase().

Here is the caller graph for this function:

Member Data Documentation

◆ m_Language

MorphLanguageEnum CABCEncoder::m_Language

◆ m_AnnotChar

const BYTE CABCEncoder::m_AnnotChar

◆ m_AlphabetSize

int CABCEncoder::m_AlphabetSize

Referenced by CABCEncoder().

◆ m_Alphabet2Code

int CABCEncoder::m_Alphabet2Code[256]

◆ m_Code2Alphabet

int CABCEncoder::m_Code2Alphabet[MaxAlphabetSize]

◆ m_AlphabetSizeWithoutAnnotator

int CABCEncoder::m_AlphabetSizeWithoutAnnotator

◆ m_Alphabet2CodeWithoutAnnotator

int CABCEncoder::m_Alphabet2CodeWithoutAnnotator[256]

◆ m_Code2AlphabetWithoutAnnotator

int CABCEncoder::m_Code2AlphabetWithoutAnnotator[MaxAlphabetSize]

Referenced by CABCEncoder(), and EncodeIntToAlphabet().


The documentation for this class was generated from the following files: