Public Member Functions | Private Member Functions | Private Attributes

CMorphAutomatBuilder Class Reference

#include <MorphAutomBuilder.h>

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

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

CMorphAutomatBuilder::CMorphAutomatBuilder ( MorphLanguageEnum  Language,
BYTE  AnnotChar 
)

References m_pRoot.

CMorphAutomatBuilder::~CMorphAutomatBuilder (  ) 

References ClearBuildNodes().

Here is the call graph for this function:


Member Function Documentation

void CMorphAutomatBuilder::ClearBuildNodes (  )  [private]

References DeleteNode(), m_DeletedNodes, and m_pRoot.

Referenced by InitTrie(), and ~CMorphAutomatBuilder().

Here is the call graph for this function:

Here is the caller graph for this function:

CTrieNodeBuild * CMorphAutomatBuilder::CreateNode (  )  [private]

References CTrieNodeBuild::Initialize(), and m_DeletedNodes.

Referenced by AddSuffix(), CloneNode(), and InitTrie().

Here is the call graph for this function:

Here is the caller graph for this function:

void CMorphAutomatBuilder::DeleteNode ( CTrieNodeBuild pNode  )  [private]
CTrieNodeBuild * CMorphAutomatBuilder::CloneNode ( const CTrieNodeBuild pPrototype  )  [private]

copying children and incrementing m_IncomingRelationsCount

References CreateNode(), CTrieNodeBuild::m_bFinal, CTrieNodeBuild::m_bRegistered, CTrieNodeBuild::m_Children, CTrieNodeBuild::m_FirstChildNo, CTrieNodeBuild::m_IncomingRelationsCount, CTrieNodeBuild::m_SecondChildNo, MaxAlphabetSize, and CTrieNodeBuild::SetFinal().

Referenced by AddStringDaciuk().

Here is the call graph for this function:

Here is the caller graph for this function:

void CMorphAutomatBuilder::UpdateCommonPrefix ( const string &  WordForm  )  [private]

References CABCEncoder::m_Alphabet2Code, m_Prefix, and m_pRoot.

Referenced by AddStringDaciuk().

Here is the caller graph for this function:

CTrieNodeBuild * CMorphAutomatBuilder::AddSuffix ( CTrieNodeBuild pParentNodeNo,
const char *  WordForm 
) [private]

References CTrieNodeBuild::AddChild(), CreateNode(), CABCEncoder::m_Alphabet2Code, CTrieNodeBuild::m_bRegistered, ReplaceOrRegister(), and CTrieNodeBuild::SetFinal().

Referenced by AddStringDaciuk().

Here is the call graph for this function:

Here is the caller graph for this function:

CTrieNodeBuild * CMorphAutomatBuilder::ReplaceOrRegister ( CTrieNodeBuild pNode  )  [private]

References DeleteNode(), GetRegister(), CTrieNodeBuild::m_bRegistered, CTrieNodeBuild::m_pRegister, and RegisterSize.

Referenced by AddStringDaciuk(), and AddSuffix().

Here is the call graph for this function:

Here is the caller graph for this function:

void CMorphAutomatBuilder::DeleteFromRegister ( CTrieNodeBuild pNode  )  [private]
int CMorphAutomatBuilder::GetFirstConfluenceState (  )  const [private]

References m_Prefix.

Referenced by AddStringDaciuk().

Here is the caller graph for this function:

void CMorphAutomatBuilder::UnregisterNode ( CTrieNodeBuild pNode  )  [private]

References GetRegister(), CTrieNodeBuild::m_bRegistered, CTrieNodeBuild::m_pRegister, and RegisterSize.

Referenced by AddStringDaciuk().

Here is the call graph for this function:

Here is the caller graph for this function:

CTrieRegister & CMorphAutomatBuilder::GetRegister ( const CTrieNodeBuild pNode  )  [private]

References CTrieNodeBuild::m_FirstChildNo, m_RegisterHash, CTrieNodeBuild::m_SecondChildNo, and MaxAlphabetSize.

Referenced by ReplaceOrRegister(), and UnregisterNode().

Here is the caller graph for this function:

bool CMorphAutomatBuilder::CheckRegister (  )  const [private]

References CheckRegisterOrder(), CTrieNodeBuild::CheckRegisterRecursive(), CTrieNodeBuild::m_bRegistered, CTrieNodeBuild::m_pRegister, m_pRoot, m_RegisterHash, and MaxAlphabetSize.

Referenced by IsValid().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CMorphAutomatBuilder::IsValid (  )  const [private]
void CMorphAutomatBuilder::InitTrie (  ) 

References ClearBuildNodes(), ClearRegister(), CreateNode(), and m_pRoot.

Referenced by CMorphDictBuilder::CreateAutomat().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CMorphAutomatBuilder::AddStringDaciuk ( const string &  WordForm  ) 
void CMorphAutomatBuilder::ClearRegister (  ) 

References m_pRoot, m_RegisterHash, MaxAlphabetSize, RegisterSize, and CTrieNodeBuild::UnregisterRecursive().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void CMorphAutomatBuilder::ConvertBuildRelationsToRelations (  ) 

Member Data Documentation


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