#include <TranslationSystem.h>

Definition at line 47 of file TranslationSystem.h.
| Moses::TranslationSystem::TranslationSystem | ( | const std::string & | id, | |
| const WordPenaltyProducer * | wpProducer, | |||
| const UnknownWordPenaltyProducer * | uwpProducer, | |||
| const DistortionScoreProducer * | distortionProducer | |||
| ) |
Creates a system with the given id
Definition at line 41 of file TranslationSystem.cpp.
References AddFeatureFunction().

| void Moses::TranslationSystem::AddDecodeGraph | ( | DecodeGraph * | decodeGraph, | |
| size_t | backoff | |||
| ) |
Definition at line 62 of file TranslationSystem.cpp.
| void Moses::TranslationSystem::AddFeatureFunction | ( | const FeatureFunction * | featureFunction | ) |
Definition at line 85 of file TranslationSystem.cpp.
References Moses::StatelessFeatureFunction::ComputeValueInTranslationOption(), and Moses::FeatureFunction::IsStateless().
Referenced by AddGlobalLexicalModel(), AddLanguageModel(), AddReorderModel(), ConfigDictionaries(), and TranslationSystem().


| void Moses::TranslationSystem::AddGlobalLexicalModel | ( | GlobalLexicalModel * | globalLexicalModel | ) |
Definition at line 76 of file TranslationSystem.cpp.
References AddFeatureFunction().

| void Moses::TranslationSystem::AddLanguageModel | ( | LanguageModel * | languageModel | ) |
Definition at line 55 of file TranslationSystem.cpp.
References Moses::LMList::Add(), and AddFeatureFunction().

| void Moses::TranslationSystem::AddReorderModel | ( | LexicalReordering * | reorderModel | ) |
Definition at line 69 of file TranslationSystem.cpp.
References AddFeatureFunction().

| void Moses::TranslationSystem::CleanUpAfterSentenceProcessing | ( | ) | const |
Definition at line 138 of file TranslationSystem.cpp.
References Moses::LMList::begin(), Moses::Dictionary::CleanUp(), Moses::LanguageModel::CleanUpAfterSentenceProcessing(), Moses::LMList::end(), and Moses::PhraseDictionaryFeature::GetDictionary().
Referenced by Moses::ChartManager::~ChartManager(), and Moses::Manager::~Manager().


| void Moses::TranslationSystem::ConfigDictionaries | ( | ) |
Definition at line 97 of file TranslationSystem.cpp.
References AddFeatureFunction(), Moses::DecodeStep::GetGenerationDictionaryFeature(), and Moses::DecodeStep::GetPhraseDictionaryFeature().

| const std::vector<size_t>& Moses::TranslationSystem::GetDecodeGraphBackoff | ( | ) | const [inline] |
Definition at line 81 of file TranslationSystem.h.
Referenced by Moses::TranslationOptionCollection::CreateTranslationOptions().

| const std::vector<DecodeGraph*>& Moses::TranslationSystem::GetDecodeGraphs | ( | ) | const [inline] |
Definition at line 78 of file TranslationSystem.h.
Referenced by Moses::TranslationOptionCollection::CreateTranslationOptions(), and Moses::TranslationOptionCollection::ProcessUnknownWord().

| const DistortionScoreProducer* Moses::TranslationSystem::GetDistortionProducer | ( | ) | const [inline] |
Definition at line 107 of file TranslationSystem.h.
Referenced by Moses::HypothesisScoreOrdererWithDistortion::operator()(), and Moses::OutputWordGraph().

| const std::vector<GenerationDictionary*>& Moses::TranslationSystem::GetGenerationDictionaries | ( | ) | const [inline] |
Definition at line 87 of file TranslationSystem.h.
Referenced by OutputNBest().

| const std::string& Moses::TranslationSystem::GetId | ( | ) | const [inline] |
Definition at line 70 of file TranslationSystem.h.
| const LMList& Moses::TranslationSystem::GetLanguageModels | ( | ) | const [inline] |
Definition at line 84 of file TranslationSystem.h.
Referenced by Moses::TranslationOption::CalcScore(), Moses::OutputWordGraph(), TranslationAnalysis::PrintTranslationAnalysis(), and Moses::TargetPhrase::SetScore().

| const std::vector<PhraseDictionaryFeature*>& Moses::TranslationSystem::GetPhraseDictionaries | ( | ) | const [inline] |
Definition at line 90 of file TranslationSystem.h.
Referenced by Moses::ChartManager::ChartManager(), OutputNBest(), Moses::OutputWordGraph(), and Moses::TargetPhrase::SetScore().

| const std::vector<LexicalReordering*>& Moses::TranslationSystem::GetReorderModels | ( | ) | const [inline] |
Definition at line 75 of file TranslationSystem.h.
Referenced by Moses::TranslationOptionCollection::CacheLexReordering(), and Moses::OutputWordGraph().

| const std::vector<const StatefulFeatureFunction*>& Moses::TranslationSystem::GetStatefulFeatureFunctions | ( | ) | const [inline] |
Definition at line 94 of file TranslationSystem.h.
Referenced by Moses::Hypothesis::CalcScore(), Moses::ChartHypothesis::CalcScore(), Moses::Hypothesis::Hypothesis(), and OutputNBest().

| const std::vector<const StatelessFeatureFunction*>& Moses::TranslationSystem::GetStatelessFeatureFunctions | ( | ) | const [inline] |
Definition at line 97 of file TranslationSystem.h.
Referenced by Moses::Hypothesis::CalcScore(), and OutputNBest().

| const UnknownWordPenaltyProducer* Moses::TranslationSystem::GetUnknownWordPenaltyProducer | ( | ) | const [inline] |
Definition at line 104 of file TranslationSystem.h.
Referenced by Moses::TranslationOptionCollection::ProcessOneUnknownWord(), and Moses::ChartTranslationOptionCollection::ProcessOneUnknownWord().

| float Moses::TranslationSystem::GetWeightDistortion | ( | ) | const |
Definition at line 173 of file TranslationSystem.cpp.
References CHECK, Moses::StaticData::GetAllWeights(), Moses::ScoreProducer::GetScoreBookkeepingID(), Moses::StaticData::GetScoreIndexManager(), and Moses::StaticData::Instance().
Referenced by Moses::HypothesisScoreOrdererWithDistortion::operator()().


| float Moses::TranslationSystem::GetWeightUnknownWordPenalty | ( | ) | const |
Definition at line 166 of file TranslationSystem.cpp.
References Moses::StaticData::GetAllWeights(), Moses::ScoreProducer::GetScoreBookkeepingID(), Moses::StaticData::GetScoreIndexManager(), and Moses::StaticData::Instance().

| float Moses::TranslationSystem::GetWeightWordPenalty | ( | ) | const |
Definition at line 159 of file TranslationSystem.cpp.
References Moses::StaticData::GetAllWeights(), Moses::ScoreIndexManager::GetBeginIndex(), Moses::ScoreProducer::GetScoreBookkeepingID(), Moses::StaticData::GetScoreIndexManager(), and Moses::StaticData::Instance().
Referenced by Moses::TranslationOption::CalcScore(), and Moses::TargetPhrase::SetScore().


| const WordPenaltyProducer* Moses::TranslationSystem::GetWordPenaltyProducer | ( | ) | const [inline] |
Definition at line 101 of file TranslationSystem.h.
Referenced by Moses::Hypothesis::CalcRemainingScore(), and Moses::ChartTranslationOptionCollection::ProcessOneUnknownWord().

| void Moses::TranslationSystem::InitializeBeforeSentenceProcessing | ( | const InputType & | source | ) | const |
Definition at line 117 of file TranslationSystem.cpp.
References Moses::LMList::begin(), Moses::LMList::end(), and Moses::LanguageModel::InitializeBeforeSentenceProcessing().
Referenced by Moses::ChartManager::ChartManager(), Moses::Manager::Manager(), and Moses::Manager::ProcessSentence().


const string Moses::TranslationSystem::DEFAULT = "default" [static] |
Definition at line 121 of file TranslationSystem.h.
Referenced by Moses::StaticData::LoadData(), and Moses::TargetPhrase::SetScore().
1.5.9