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

#include <Statistic.h>

Public Member Functions

void Load (const string &path)
 
int get_HomoWeight (int paradigmid, int form) const
 
int get_WordWeight (int paradigmid) const
 

Private Attributes

vector< _statnode_tm_WordWeights
 
vector< _homonode_tm_HomoWeights
 

Member Function Documentation

◆ Load()

void CStatistic::Load ( const string &  path)

References HOMOWEIGHT_BIN_PATH, m_HomoWeights, m_WordWeights, ReadVector(), and WORDWEIGHT_BIN_PATH.

Referenced by CLemmatizer::LoadDictionariesRegistry().

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

◆ get_HomoWeight()

int CStatistic::get_HomoWeight ( int  paradigmid,
int  form 
) const

References less4homonode(), m_HomoWeights, and troika< T1, T2, T3 >::third.

Referenced by CLemmatizer::AssignWeightIfNeed(), CFormInfo::GetHomonymWeightWithForm(), and CFormInfo::SetParadigmId().

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

◆ get_WordWeight()

int CStatistic::get_WordWeight ( int  paradigmid) const

References less4statnode(), and m_WordWeights.

Referenced by CFormInfo::GetWordWeight().

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

Member Data Documentation

◆ m_WordWeights

vector<_statnode_t> CStatistic::m_WordWeights
private

Referenced by get_WordWeight(), and Load().

◆ m_HomoWeights

vector<_homonode_t> CStatistic::m_HomoWeights
private

Referenced by get_HomoWeight(), and Load().


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