ddc
Classes | Typedefs | Functions | Variables
CreatePredictionBase.cpp File Reference
#include "StdMorph.h"
#include "Predict.h"
#include "MorphAutomBuilder.h"
#include "MorphDictBuilder.h"
#include "LemmaInfoSerialize.h"
Include dependency graph for CreatePredictionBase.cpp:

Classes

struct  CPredictWord
 
struct  CModelPostfix
 
struct  IsLessByModelNoAndBase
 

Typedefs

typedef map< string, vector< CPredictWord > > Flex2WordMap
 
typedef map< CModelPostfix, size_t > Postfix2FreqMap
 

Functions

void AddElem (Flex2WordMap &svMapRaw, const string &Postfix, int LemmaInfoNo, const WORD nps, const WORD ItemNo, Postfix2FreqMap &ModelFreq, const vector< CLemmaInfoAndLemma > &LemmaInfos)
 
void log (string s)
 
string GetPlugLemmabyLanguage (MorphLanguageEnum Langua)
 

Variables

const size_t MinimalFlexiaModelFrequence = 10
 

Typedef Documentation

◆ Flex2WordMap

typedef map<string, vector<CPredictWord> > Flex2WordMap

◆ Postfix2FreqMap

typedef map<CModelPostfix, size_t > Postfix2FreqMap

Function Documentation

◆ AddElem()

void AddElem ( Flex2WordMap svMapRaw,
const string &  Postfix,
int  LemmaInfoNo,
const WORD  nps,
const WORD  ItemNo,
Postfix2FreqMap ModelFreq,
const vector< CLemmaInfoAndLemma > &  LemmaInfos 
)

References CLemmaInfo::m_FlexiaModelNo, and CPredictWord::m_nps.

Referenced by CMorphDictBuilder::GenPredictIdx().

Here is the caller graph for this function:

◆ log()

void log ( string  s)

Referenced by CMorphDictBuilder::GenPredictIdx(), and CConcSession::InitSortByRank().

Here is the caller graph for this function:

◆ GetPlugLemmabyLanguage()

string GetPlugLemmabyLanguage ( MorphLanguageEnum  Langua)

References morphEnglish, morphGerman, and morphRussian.

Referenced by CMorphDictBuilder::GenPredictIdx().

Here is the caller graph for this function:

Variable Documentation

◆ MinimalFlexiaModelFrequence

const size_t MinimalFlexiaModelFrequence = 10