ddc
|
#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_t > | m_WordWeights |
vector< _homonode_t > | m_HomoWeights |
void CStatistic::Load | ( | const string & | path | ) |
References HOMOWEIGHT_BIN_PATH, m_HomoWeights, m_WordWeights, ReadVector(), and WORDWEIGHT_BIN_PATH.
Referenced by CLemmatizer::LoadDictionariesRegistry().
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().
int CStatistic::get_WordWeight | ( | int | paradigmid | ) | const |
References less4statnode(), and m_WordWeights.
Referenced by CFormInfo::GetWordWeight().
|
private |
Referenced by get_WordWeight(), and Load().
|
private |
Referenced by get_HomoWeight(), and Load().