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

#include <Paradigm.h>

Collaboration diagram for CFormInfo:
Collaboration graph
[legend]

Public Member Functions

 CFormInfo ()
 
void Create (const CLemmatizer *pParent, const CAutomAnnotationInner &A, const string &InputWordForm, bool bFound)
 
void CopyFrom (const CFormInfo &from)
 
void AttachLemmatizer (const CLemmatizer *parent)
 
bool SetParadigmId (DWORD newVal)
 
DWORD GetParadigmId () const
 
DWORD GetCount () const
 
string GetSrcNorm () const
 
int GetHomonymWeightWithForm (WORD pos) const
 
int GetWordWeight () const
 
string GetAncode (WORD pos) const
 
string GetWordForm (WORD pos) const
 
string GetSrcAncode () const
 
int GetHomonymWeight () const
 
BYTE GetAccentedVowel (WORD pos) const
 
BYTE GetSrcAccentedVowel () const
 
string GetCommonAncode () const
 
char GetLemSign () const
 
size_t GetLemmaPrefixLength () const
 
string FormatAsInPlmLine () const
 
void SetUserPrefix (const string &UserPrefix)
 
void SetUserUnknown ()
 

Public Attributes

const CLemmatizerm_pParent
 
string m_InputWordBase
 
bool m_bFound
 

Private Member Functions

const CLemmaInfoAndLemmaGetLemmaInfo () const
 
const CFlexiaModelGetFlexiaModel () const
 
bool IsValid () const
 

Private Attributes

bool m_bPrefixesWereCut
 
bool m_bFlexiaWasCut
 
string m_UserPrefix
 
CAutomAnnotationInner m_InnerAnnot
 

Constructor & Destructor Documentation

◆ CFormInfo()

CFormInfo::CFormInfo ( )

Member Function Documentation

◆ GetLemmaInfo()

const CLemmaInfoAndLemma & CFormInfo::GetLemmaInfo ( ) const
private

◆ GetFlexiaModel()

const CFlexiaModel & CFormInfo::GetFlexiaModel ( ) const
private

References GetLemmaInfo(), CLemmaInfo::m_FlexiaModelNo, CMorphDict::m_FlexiaModels, CLemmaInfoAndLemma::m_LemmaInfo, and m_pParent.

Referenced by Create(), GetAncode(), GetCount(), GetSrcAncode(), GetSrcNorm(), GetWordForm(), and SetParadigmId().

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

◆ IsValid()

bool CFormInfo::IsValid ( ) const
private

◆ Create()

void CFormInfo::Create ( const CLemmatizer pParent,
const CAutomAnnotationInner A,
const string &  InputWordForm,
bool  bFound 
)

◆ CopyFrom()

void CFormInfo::CopyFrom ( const CFormInfo from)

◆ AttachLemmatizer()

void CFormInfo::AttachLemmatizer ( const CLemmatizer parent)

References m_pParent.

◆ SetParadigmId()

bool CFormInfo::SetParadigmId ( DWORD  newVal)

◆ GetParadigmId()

DWORD CFormInfo::GetParadigmId ( ) const

References ErrorParadigmId, CAutomAnnotationInner::GetParadigmId(), IsValid(), m_bFound, and m_InnerAnnot.

Referenced by FormatAsInPlmLine(), GetHomonymWeightWithForm(), and GetWordWeight().

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

◆ GetCount()

DWORD CFormInfo::GetCount ( ) const

References GetFlexiaModel(), IsValid(), and CFlexiaModel::m_Flexia.

Referenced by TxMorph::expand(), GetParadigmFromDictionary(), and GetWordForms().

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

◆ GetSrcNorm()

string CFormInfo::GetSrcNorm ( ) const

References CFlexiaModel::get_first_flex(), GetFlexiaModel(), GetLemmaInfo(), IsValid(), CMorphDict::m_Bases, CLemmaInfoAndLemma::m_LemmaStrNo, and m_pParent.

Referenced by GetStringByParadigm(), and SetParadigmId().

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

◆ GetHomonymWeightWithForm()

int CFormInfo::GetHomonymWeightWithForm ( WORD  pos) const

References CStatistic::get_HomoWeight(), GetParadigmId(), CLemmatizer::GetStatistic(), IsValid(), and m_pParent.

Here is the call graph for this function:

◆ GetWordWeight()

int CFormInfo::GetWordWeight ( ) const

References CStatistic::get_WordWeight(), GetParadigmId(), CLemmatizer::GetStatistic(), IsValid(), and m_pParent.

Here is the call graph for this function:

◆ GetAncode()

string CFormInfo::GetAncode ( WORD  pos) const

References GetFlexiaModel(), IsValid(), and CFlexiaModel::m_Flexia.

Referenced by GetParadigmFromDictionary(), and GetStringByParadigm().

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

◆ GetWordForm()

string CFormInfo::GetWordForm ( WORD  pos) const

◆ GetSrcAncode()

string CFormInfo::GetSrcAncode ( ) const

References GetFlexiaModel(), GetLemmaInfo(), IsValid(), CFlexiaModel::m_Flexia, m_InnerAnnot, and CAutomAnnotationInner::m_ItemNo.

Referenced by FormatAsInPlmLine(), and GetStringByParadigm().

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

◆ GetHomonymWeight()

int CFormInfo::GetHomonymWeight ( ) const

References IsValid(), m_bFound, m_InnerAnnot, and CAutomAnnotationInner::m_nWeight.

Referenced by FormatAsInPlmLine().

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

◆ GetAccentedVowel()

BYTE CFormInfo::GetAccentedVowel ( WORD  pos) const

◆ GetSrcAccentedVowel()

BYTE CFormInfo::GetSrcAccentedVowel ( ) const

References GetAccentedVowel(), m_InnerAnnot, and CAutomAnnotationInner::m_ItemNo.

Here is the call graph for this function:

◆ GetCommonAncode()

string CFormInfo::GetCommonAncode ( ) const

References CLemmaInfo::GetCommonAncodeIfCan(), GetLemmaInfo(), IsValid(), and CLemmaInfoAndLemma::m_LemmaInfo.

Referenced by FormatAsInPlmLine(), and GetStringByParadigm().

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

◆ GetLemSign()

char CFormInfo::GetLemSign ( ) const

References m_bFound.

Referenced by FormatAsInPlmLine().

Here is the caller graph for this function:

◆ GetLemmaPrefixLength()

size_t CFormInfo::GetLemmaPrefixLength ( ) const

References IsValid(), m_bFound, m_InnerAnnot, m_pParent, CMorphDict::m_Prefixes, and CAutomAnnotationInner::m_PrefixNo.

Here is the call graph for this function:

◆ FormatAsInPlmLine()

string CFormInfo::FormatAsInPlmLine ( ) const

References Format(), GetCommonAncode(), GetHomonymWeight(), GetLemSign(), GetParadigmId(), GetSrcAncode(), GetWordForm(), and m_bFound.

Here is the call graph for this function:

◆ SetUserPrefix()

void CFormInfo::SetUserPrefix ( const string &  UserPrefix)

References m_UserPrefix.

Referenced by CreateDecartProduction().

Here is the caller graph for this function:

◆ SetUserUnknown()

void CFormInfo::SetUserUnknown ( )

References m_bFound.

Member Data Documentation

◆ m_bPrefixesWereCut

bool CFormInfo::m_bPrefixesWereCut
private

◆ m_bFlexiaWasCut

bool CFormInfo::m_bFlexiaWasCut
private

◆ m_UserPrefix

string CFormInfo::m_UserPrefix
private

◆ m_InnerAnnot

CAutomAnnotationInner CFormInfo::m_InnerAnnot
private

◆ m_pParent

const CLemmatizer* CFormInfo::m_pParent

◆ m_InputWordBase

string CFormInfo::m_InputWordBase

◆ m_bFound

bool CFormInfo::m_bFound

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