Public Member Functions | Public Attributes | Private Member Functions

CAgramtab Class Reference

#include <agramtab_.h>

Inheritance diagram for CAgramtab:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Public Attributes

Private Member Functions


Constructor & Destructor Documentation

CAgramtab::CAgramtab (  ) 

References m_bInited.

CAgramtab::~CAgramtab (  )  [virtual]

Member Function Documentation

bool CAgramtab::Read ( const char *  FileName  )  [private]

References GetLine(), GetMaxGrmCount(), m_bInited, ProcessAgramtabLine(), and s2i().

Referenced by LoadFromRegistry().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CAgramtab::ReadAndCheck ( const char *  FileName  )  [private]

References GetLine(), GetMaxGrmCount(), i2s(), CAgramtabLine::m_Grammems, ProcessAgramtabLine(), and s2i().

Referenced by LoadFromRegistryAndCheck().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual CAgramtabLine*& CAgramtab::GetLine ( size_t  LineNo  )  [pure virtual]
virtual const CAgramtabLine* CAgramtab::GetLine ( size_t  LineNo  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual size_t CAgramtab::GetMaxGrmCount (  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by GetAllPossibleAncodes(), GetGramCodeByGrammemsAndPartofSpeechIfCan(), Read(), and ReadAndCheck().

Here is the caller graph for this function:

virtual BYTE CAgramtab::GetPartOfSpeechesCount (  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by GetFirstPartOfSpeech(), GetTagFromStr(), and MorphoWizard::load_gramtab().

Here is the caller graph for this function:

virtual const char* CAgramtab::GetPartOfSpeechStr ( BYTE  i  )  const [pure virtual]
virtual size_t CAgramtab::GetGrammemsCount (  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by grammems_to_str(), MorphoWizard::load_gramtab(), and ProcessPOSAndGrammems().

Here is the caller graph for this function:

virtual const char* CAgramtab::GetGrammemStr ( size_t  i  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by grammems_to_str(), MorphoWizard::load_gramtab(), and ProcessPOSAndGrammems().

Here is the caller graph for this function:

virtual size_t CAgramtab::s2i ( const char *  s  )  const [pure virtual]
virtual string CAgramtab::i2s ( WORD  i  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by GetAllPossibleAncodes(), GetGramCodeByGrammemsAndPartofSpeechIfCan(), and ReadAndCheck().

Here is the caller graph for this function:

virtual const char* CAgramtab::GetRegistryString (  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by LoadFromRegistry(), and LoadFromRegistryAndCheck().

Here is the caller graph for this function:

virtual long CAgramtab::GetClauseTypeByName ( const char *  TypeName  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual const char* CAgramtab::GetClauseNameByType ( long  type  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by CSyntaxHolder::GetClauseTypeDescr().

Here is the caller graph for this function:

virtual bool CAgramtab::GleicheSubjectPredicate ( const char *  gram_code1,
const char *  gram_code2 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::GleicheGenderNumber ( const char *  gram_code1,
const char *  gram_code2 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual const size_t CAgramtab::GetClauseTypesCount (  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

bool CAgramtab::ProcessPOSAndGrammems ( const char *  tab_str,
BYTE PartOfSpeech,
QWORD grammems 
) const [virtual]

Reimplemented in CRusGramTab.

References _QM, GetGrammemsCount(), GetGrammemStr(), GetTagFromStr(), UnknownPartOfSpeech, and StringTokenizer::val().

Referenced by GetParadigmByGroups(), ProcessAgramtabLine(), CRusGramTab::ProcessPOSAndGrammems(), and ProcessPOSAndGrammemsIfCan().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool CAgramtab::IsStrongClauseRoot ( const DWORD  Poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_month ( const char *  lemma  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_small_number ( const char *  lemma  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::IsMorphNoun ( size_t  Poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by CHomonym::IsMorphNoun().

Here is the caller graph for this function:

virtual bool CAgramtab::is_morph_adj ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_morph_participle ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_morph_pronoun ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_morph_pronoun_adjective ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_left_noun_modifier ( size_t  Poses,
QWORD  grammems 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by CHomonym::IsLeftNounModifier().

Here is the caller graph for this function:

virtual bool CAgramtab::is_numeral ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_verb_form ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_infinitive ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_morph_predk ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_morph_adv ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_morph_personal_pronoun ( size_t  poses,
QWORD  grammems 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::is_morph_article ( size_t  poses  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::IsSimpleParticle ( const char *  lemma,
size_t  poses 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::IsSynNoun ( size_t  Poses,
const char *  Lemma 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

Referenced by CHomonym::IsSynNoun().

Here is the caller graph for this function:

virtual bool CAgramtab::IsStandardParamAbbr ( const char *  WordStrUpper  )  const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::GleicheCase ( const char *  gram_code_noun,
const char *  gram_code_adj 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual bool CAgramtab::GleicheCaseNumber ( const char *  gram_code1,
const char *  gram_code2 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

virtual QWORD CAgramtab::GleicheGenderNumberCase ( const char *  common_gram_code_noun,
const char *  gram_code_noun,
const char *  gram_code_adj 
) const [pure virtual]

Implemented in CEngGramTab, CGerGramTab, and CRusGramTab.

bool CAgramtab::LoadFromRegistry (  ) 

References GetRegistryString(), and Read().

Referenced by MorphoWizard::load_gramtab(), and CMorphologyHolder::LoadGraphanAndLemmatizer().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CAgramtab::LoadFromRegistryAndCheck (  ) 

References GetRegistryString(), and ReadAndCheck().

Here is the call graph for this function:

int CAgramtab::AreEqualPartOfSpeech ( char *  grm1,
char *  grm2 
)

References GetLine(), CAgramtabLine::m_PartOfSpeech, and s2i().

Here is the call graph for this function:

bool CAgramtab::ProcessPOSAndGrammemsIfCan ( const char *  tab_str,
BYTE PartOfSpeech,
QWORD grammems 
) const

References ProcessPOSAndGrammems().

Referenced by MorphoWizard::find_lemm_by_grammem(), and MorphoWizard::slf2ancode().

Here is the call graph for this function:

Here is the caller graph for this function:

char * CAgramtab::grammems_to_str ( QWORD  grammems,
char *  out_buf 
) const

References _QM, GetGrammemsCount(), GetGrammemStr(), and GrammemsCount.

Referenced by GetTabStringByGramCode(), and GrammemsToStr().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CAgramtab::FindGrammems ( const char *  gram_codes,
QWORD  grammems 
) const

References GetLine(), and s2i().

Here is the call graph for this function:

bool CAgramtab::GetGramCodeByGrammemsAndPartofSpeechIfCan ( BYTE  Pos,
QWORD  grammems,
string &  gramcodes 
) const

References GetLine(), GetMaxGrmCount(), i2s(), and CAgramtabLine::m_PartOfSpeech.

Referenced by MorphoWizard::slf2ancode().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CAgramtab::GetPartOfSpeechAndGrammems ( const BYTE AnCodes,
DWORD Poses,
QWORD Grammems 
) const

References GetLine(), CAgramtabLine::m_Grammems, CAgramtabLine::m_PartOfSpeech, and s2i().

Referenced by HasGrammem(), HasOneGrammem(), and HasOnlyOneCase().

Here is the call graph for this function:

Here is the caller graph for this function:

string CAgramtab::GrammemsToStr ( QWORD  grammems  )  const
string CAgramtab::GetTabStringByGramCode ( const char *  gram_code  )  const

References GetGrammems(), GetPartOfSpeech(), GetPartOfSpeechStr(), Grammems, grammems_to_str(), and UnknownPartOfSpeech.

Referenced by CLemWord::GetDebugString().

Here is the call graph for this function:

Here is the caller graph for this function:

BYTE CAgramtab::GetPartOfSpeech ( const char *  gram_code  )  const
QWORD CAgramtab::GetAllGrammems ( const char *  gram_code  )  const

References GetLine(), CAgramtabLine::m_Grammems, and s2i().

Referenced by MorphoWizard::get_all_lemma_grammems(), GetGramInfoStr(), GetParadigmFromDictionary(), GetStringByParadigm(), and CPlmLine::SetGramCodes().

Here is the call graph for this function:

Here is the caller graph for this function:

size_t CAgramtab::GetSourceLineNo ( const char *  gram_code  )  const

References GetLine(), CAgramtabLine::m_SourceLineNo, and s2i().

Referenced by MorphoWizard::AncodeLess::operator()().

Here is the call graph for this function:

Here is the caller graph for this function:

QWORD CAgramtab::GetAllGrammemsThatContains ( const char *  gram_code  )  const
bool CAgramtab::GetGrammems ( const char *  gram_code,
QWORD grammems 
) const
BYTE CAgramtab::GetFirstPartOfSpeech ( const DWORD  poses  )  const

References GetPartOfSpeechesCount().

Here is the call graph for this function:

string CAgramtab::GetAllPossibleAncodes ( BYTE  pos,
QWORD  grammems 
) const

References GetLine(), GetMaxGrmCount(), i2s(), CAgramtabLine::m_Grammems, and CAgramtabLine::m_PartOfSpeech.

Referenced by ConvertToPlural(), MorphoWizard::find_lemm_by_grammem(), and MorphoWizard::load_gramtab().

Here is the call graph for this function:

Here is the caller graph for this function:

QWORD CAgramtab::Gleiche ( GrammemCompare  CompareFunc,
const char *  gram_codes1,
const char *  gram_codes2 
) const
string CAgramtab::GleicheAncode1 ( GrammemCompare  CompareFunc,
const char *  gram_codes1,
const char *  gram_codes2 
) const

References GetLine(), and s2i().

Referenced by CommonCase(), CommonCaseNumberGender(), MixedDeclAssignFunction2(), MixedDeclAssignFunction3(), StrongDeclAssignFunction(), WeakDeclAssignFunction2(), and WeakDeclAssignFunction3().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Referenced by CAgramtab(), and Read().


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