ddc
|
#include "StdMorph.h"
#include "Predict.h"
#include "MorphAutomBuilder.h"
#include "MorphDictBuilder.h"
#include "LemmaInfoSerialize.h"
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 map<string, vector<CPredictWord> > Flex2WordMap |
typedef map<CModelPostfix, size_t > Postfix2FreqMap |
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().
void log | ( | string | s | ) |
Referenced by CMorphDictBuilder::GenPredictIdx(), and CConcSession::InitSortByRank().
string GetPlugLemmabyLanguage | ( | MorphLanguageEnum | Langua | ) |
References morphEnglish, morphGerman, and morphRussian.
Referenced by CMorphDictBuilder::GenPredictIdx().
const size_t MinimalFlexiaModelFrequence = 10 |
Referenced by CMorphDictBuilder::GenPredictIdx().