#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"
string GetCurrentDate | ( | ) |
Referenced by CreateLockFile(), MorphoWizard::EndSession(), MorphoWizard::log(), and MorphoWizard::StartSession().
string GetFullPathByName | ( | string | FileName | ) |
References GetPathByFile().
Referenced by MorphoWizard::load_wizard().
static void CreateLockFile | ( | const string & | LockFileName | ) | [static] |
References GetCurrentDate(), and GetRegistryString().
Referenced by MorphoWizard::load_mrd().
void ReadFlexiaModels | ( | FILE * | fp, | |
vector< CFlexiaModel > & | FlexiaModels | |||
) |
References MaxMrdLineLength, CFlexiaModel::ReadFromString(), and Trim().
Referenced by CMorphDict::Load(), and MorphoWizard::load_mrd().
void WriteFlexiaModels | ( | FILE * | out_fp, | |
const vector< CFlexiaModel > & | FlexiaModels | |||
) |
Referenced by CMorphDict::Save(), and MorphoWizard::save_mrd().
void ReadAccentModels | ( | FILE * | fp, | |
vector< CAccentModel > & | AccentModels | |||
) |
References MaxMrdLineLength, and CAccentModel::ReadFromString().
Referenced by CMorphDict::Load(), and MorphoWizard::load_mrd().
void WriteAccentModels | ( | FILE * | out_fp, | |
const vector< CAccentModel > & | AccentModels | |||
) |
Referenced by CMorphDict::Save(), and MorphoWizard::save_mrd().
static void ReadLemmas | ( | FILE * | fp, | |
MorphoWizard & | W | |||
) | [static] |
References MorphoWizard::GetMeter(), MorphoWizard::HasMeter(), MorphoWizard::m_FlexiaModels, MorphoWizard::m_LemmaToParadigm, MaxMrdLineLength, CFileMeterRML::SetFilePos(), COperationMeterRML::SetInfo(), UnknownAccent, and UnknownPrefixSetNo.
Referenced by MorphoWizard::load_mrd().
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().
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().
WORD AddFlexiaModel | ( | MorphoWizard & | C, | |
const CFlexiaModel & | FlexiaModel | |||
) |
References MorphoWizard::m_FlexiaModels.
Referenced by MorphoWizard::add_lemma().
string GetSuffix | ( | const string & | Lemma, | |
int | PrefferedLength | |||
) | [inline] |
Referenced by MorphoWizard::CreatePredictIndex(), and MorphoWizard::predict_lemm().
bool IsLessByLemmaLength | ( | const CPredictSuffix & | _X1, | |
const CPredictSuffix & | _X2 | |||
) |
References CPredictSuffix::m_SourceLemma.
bool PrintAllForms | ( | const char * | MrdFile, | |
string | OutFile | |||
) |
References MorphoWizard::attach_form_prefixes_to_bases(), MorphoWizard::get_base_string(), MorphoWizard::get_lemm_string_with_accents(), MorphoWizard::load_wizard(), CFlexiaModel::m_Flexia, MorphoWizard::m_FlexiaModels, MorphoWizard::m_LemmaToParadigm, and MorphoWizard::prepare_for_RML().
const char* AnyCommonAncode = " " |
Referenced by CParadigmInfo::AnyParadigmInfo(), and CParadigmInfo::IsAnyEqual().
const char FlexModelCommDelim[] = "q//q" |
Referenced by CFlexiaModel::ReadFromString(), and CFlexiaModel::ToString().
const size_t MaxMrdLineLength = 10240 |
const char TypeGrmField[] = "$type_grm" |
Referenced by CDumpParadigm::ReadFromFile(), and CDumpParadigm::SaveHeaderToFile().
const char PrefixesField[] = "$prefixes" |
Referenced by CDumpParadigm::ReadFromFile(), and CDumpParadigm::SaveHeaderToFile().
const char SessionField[] = "$session" |
Referenced by CDumpParadigm::ReadFromFile(), and CDumpParadigm::SaveHeaderToFile().