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

#include <Predict.h>

Collaboration diagram for CPredictBase:
Collaboration graph
[legend]

Public Member Functions

 CPredictBase (MorphLanguageEnum)
 
void Load (const string &path)
 
bool Find (const string &lettId, vector< CPredictTuple > &res) const
 

Public Attributes

DwordVector m_ModelFreq
 

Private Member Functions

void FindRecursive (int r, string &curr_path, vector< CPredictTuple > &Infos) const
 

Private Attributes

CMorphAutomat m_SuffixAutomat
 

Constructor & Destructor Documentation

◆ CPredictBase()

CPredictBase::CPredictBase ( MorphLanguageEnum  langua)

Member Function Documentation

◆ FindRecursive()

void CPredictBase::FindRecursive ( int  r,
string &  curr_path,
vector< CPredictTuple > &  Infos 
) const
private

◆ Load()

void CPredictBase::Load ( const string &  path)

References CMorphAutomat::Load(), and m_SuffixAutomat.

Referenced by CLemmatizer::LoadDictionariesRegistry().

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

◆ Find()

bool CPredictBase::Find ( const string &  lettId,
vector< CPredictTuple > &  res 
) const

References FindRecursive(), m_SuffixAutomat, MinimalPredictionSuffix, and CMorphAutomat::NextNode().

Referenced by CLemmatizer::CheckAbbreviation(), and CLemmatizer::PredictByDataBase().

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

Member Data Documentation

◆ m_SuffixAutomat

CMorphAutomat CPredictBase::m_SuffixAutomat
private

Referenced by Find(), FindRecursive(), and Load().

◆ m_ModelFreq

DwordVector CPredictBase::m_ModelFreq

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