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