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

#include <MorphDictBuilder.h>

Inheritance diagram for CMorphDictBuilder:
Inheritance graph
[legend]
Collaboration diagram for CMorphDictBuilder:
Collaboration graph
[legend]

Public Member Functions

 CMorphDictBuilder (MorphLanguageEnum Language)
 
 ~CMorphDictBuilder ()
 
bool CreateAutomat (const MorphoWizard &Wizard)
 
bool GenerateLemmas (const MorphoWizard &Wizard)
 
bool GenerateUnitedFlexModels (const MorphoWizard &Wizard)
 
bool GenPredictIdx (const MorphoWizard &wizard, int PostfixLength, int MinFreq, string path)
 
- Public Member Functions inherited from CMorphDict
 CMorphDict (MorphLanguageEnum Language)
 
virtual ~CMorphDict ()
 
void InitAutomat (CMorphAutomat *pFormAutomat)
 
bool Load (string GrammarFileName)
 
bool Save (string GrammarFileName) const
 
void PredictBySuffix (const string &Text, size_t &TextOffset, size_t MinimalPredictSuffixlen, vector< CAutomAnnotationInner > &Infos) const
 
string GetAllMorphInterpsStr (const string &Text, const size_t TextPos, bool bFullInterp) const
 

Private Member Functions

void ClearRegister ()
 
bool CheckFlexiaGramInfo (const MorphoWizard &Wizard) const
 
bool GeneratePrefixes (const MorphoWizard &Wizard)
 
bool CheckRegister () const
 
CMorphAutomatBuilderGetFormBuilder ()
 

Private Attributes

vector< vector< bool > > m_ModelInfo
 
vector< DwordVectorm_PrefixSets
 

Additional Inherited Members

- Public Attributes inherited from CMorphDict
vector< CFlexiaModelm_FlexiaModels
 
vector< CAccentModelm_AccentModels
 
CShortStringHolder m_Bases
 
vector< CLemmaInfoAndLemmam_LemmaInfos
 
StringVector m_Prefixes
 
vector< BYTEm_NPSs
 
- Protected Member Functions inherited from CMorphDict
void GetLemmaInfos (const string &Text, size_t TextPos, vector< CAutomAnnotationInner > &Infos) const
 
void CreateModelsIndex ()
 
- Protected Attributes inherited from CMorphDict
CMorphAutomatm_pFormAutomat
 
vector< int > m_ModelsIndex
 
IsLessMorphInterp m_SearchInfoLess
 

Constructor & Destructor Documentation

◆ CMorphDictBuilder()

CMorphDictBuilder::CMorphDictBuilder ( MorphLanguageEnum  Language)

References CMorphDict::InitAutomat(), and MorphAnnotChar.

Referenced by GetFormBuilder().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~CMorphDictBuilder()

CMorphDictBuilder::~CMorphDictBuilder ( )

Referenced by GetFormBuilder().

Here is the caller graph for this function:

Member Function Documentation

◆ ClearRegister()

void CMorphDictBuilder::ClearRegister ( )
private

◆ CheckFlexiaGramInfo()

bool CMorphDictBuilder::CheckFlexiaGramInfo ( const MorphoWizard Wizard) const
private

◆ GeneratePrefixes()

bool CMorphDictBuilder::GeneratePrefixes ( const MorphoWizard Wizard)
private

References CMorphDict::m_Prefixes, m_PrefixSets, MorphoWizard::m_PrefixSets, MaxLemmaPrefixCount, and RegisterSize.

Referenced by CreateAutomat().

Here is the caller graph for this function:

◆ CheckRegister()

bool CMorphDictBuilder::CheckRegister ( ) const
private

◆ GetFormBuilder()

CMorphAutomatBuilder* CMorphDictBuilder::GetFormBuilder ( )
inlineprivate

References CMorphDictBuilder(), CreateAutomat(), GenerateLemmas(), GenerateUnitedFlexModels(), GenPredictIdx(), CMorphDict::m_pFormAutomat, and ~CMorphDictBuilder().

Referenced by CreateAutomat().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateAutomat()

bool CMorphDictBuilder::CreateAutomat ( const MorphoWizard Wizard)

◆ GenerateLemmas()

bool CMorphDictBuilder::GenerateLemmas ( const MorphoWizard Wizard)

◆ GenerateUnitedFlexModels()

bool CMorphDictBuilder::GenerateUnitedFlexModels ( const MorphoWizard Wizard)

◆ GenPredictIdx()

bool CMorphDictBuilder::GenPredictIdx ( const MorphoWizard wizard,
int  PostfixLength,
int  MinFreq,
string  path 
)

Member Data Documentation

◆ m_ModelInfo

vector< vector <bool> > CMorphDictBuilder::m_ModelInfo
private

◆ m_PrefixSets

vector< DwordVector > CMorphDictBuilder::m_PrefixSets
private

Referenced by CreateAutomat(), and GeneratePrefixes().


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