Classes | Functions | Variables

wizard.cpp File Reference

#include "wizard.h"
#include "../common/util_classes.h"
#include "../AgramtabLib/EngGramTab.h"
#include "../AgramtabLib/RusGramTab.h"
#include "../AgramtabLib/GerGramTab.h"
#include "../PCRE/pcre_rml.h"
Include dependency graph for wizard.cpp:

Classes

Functions

Variables


Function Documentation

string GetCurrentDate (  ) 

Referenced by CreateLockFile(), MorphoWizard::EndSession(), MorphoWizard::log(), and MorphoWizard::StartSession().

Here is the caller graph for this function:

string GetFullPathByName ( string  FileName  ) 

References GetPathByFile().

Referenced by MorphoWizard::load_wizard().

Here is the call graph for this function:

Here is the caller graph for this function:

static void CreateLockFile ( const string &  LockFileName  )  [static]

References GetCurrentDate(), and GetRegistryString().

Referenced by MorphoWizard::load_mrd().

Here is the call graph for this function:

Here is the caller graph for this function:

void ReadFlexiaModels ( FILE *  fp,
vector< CFlexiaModel > &  FlexiaModels 
)

References MaxMrdLineLength, CFlexiaModel::ReadFromString(), and Trim().

Referenced by CMorphDict::Load(), and MorphoWizard::load_mrd().

Here is the call graph for this function:

Here is the caller graph for this function:

void WriteFlexiaModels ( FILE *  out_fp,
const vector< CFlexiaModel > &  FlexiaModels 
)

Referenced by CMorphDict::Save(), and MorphoWizard::save_mrd().

Here is the caller graph for this function:

void ReadAccentModels ( FILE *  fp,
vector< CAccentModel > &  AccentModels 
)

References MaxMrdLineLength, and CAccentModel::ReadFromString().

Referenced by CMorphDict::Load(), and MorphoWizard::load_mrd().

Here is the call graph for this function:

Here is the caller graph for this function:

void WriteAccentModels ( FILE *  out_fp,
const vector< CAccentModel > &  AccentModels 
)

Referenced by CMorphDict::Save(), and MorphoWizard::save_mrd().

Here is the caller graph for this function:

static void ReadLemmas ( FILE *  fp,
MorphoWizard W 
) [static]
bool IsLessBySession ( const lemma_iterator_t it1,
const lemma_iterator_t it2 
)
bool simple_match ( const string &  pattern,
const string &  word 
)
BYTE TransferReverseVowelNoToCharNo ( const string &  form,
BYTE  AccentCharNo,
MorphLanguageEnum  Language 
)

References is_lower_vowel(), is_upper_vowel(), and UnknownAccent.

Referenced by MorphoWizard::_GetReverseVowelNo(), CFormInfo::GetAccentedVowel(), MorphoWizard::GetLemmaAccent(), and MorphoWizard::SetAccent().

Here is the call graph for this function:

Here is the caller graph for this function:

WORD AddAccentModel ( MorphoWizard C,
const CAccentModel AccentModel 
)

References MorphoWizard::m_AccentModels, CAccentModel::m_Accents, and UnknownAccentModelNo.

Referenced by MorphoWizard::add_lemma(), and MorphoWizard::change_prd_info().

Here is the caller graph for this function:

WORD AddFlexiaModel ( MorphoWizard C,
const CFlexiaModel FlexiaModel 
)

References MorphoWizard::m_FlexiaModels.

Referenced by MorphoWizard::add_lemma().

Here is the caller graph for this function:

string GetSuffix ( const string &  Lemma,
int  PrefferedLength 
) [inline]

Referenced by MorphoWizard::CreatePredictIndex(), and MorphoWizard::predict_lemm().

Here is the caller graph for this function:

bool IsLessByLemmaLength ( const CPredictSuffix _X1,
const CPredictSuffix _X2 
)
bool PrintAllForms ( const char *  MrdFile,
string  OutFile 
)

Variable Documentation

const char* AnyCommonAncode = " "
const char FlexModelCommDelim[] = "q//q"
const size_t MaxMrdLineLength = 10240
const char TypeGrmField[] = "$type_grm"
const char PrefixesField[] = "$prefixes"
const char SessionField[] = "$session"