Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author= <=>2013-09-25 03:47:55 +0400
committer= <=>2013-09-25 03:47:55 +0400
commitdb849ce2f5b9a9302b5e9e469ab170a93814855d (patch)
treeb77192a944ef1626cd5b94f74d5607bb88f8249f /moses/DecodeStepTranslation.cpp
parent7ce803ef1e500d0f835c3a526d4efb6a70c3ffdf (diff)
Commented out unused variables.
Diffstat (limited to 'moses/DecodeStepTranslation.cpp')
-rw-r--r--moses/DecodeStepTranslation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/DecodeStepTranslation.cpp b/moses/DecodeStepTranslation.cpp
index ccd1d7af8..1d5b4bb4c 100644
--- a/moses/DecodeStepTranslation.cpp
+++ b/moses/DecodeStepTranslation.cpp
@@ -72,7 +72,7 @@ void DecodeStepTranslation::Process(const TranslationOption &inputPartialTranslO
for (iterTargetPhrase = phraseColl->begin(); iterTargetPhrase != iterEnd; ++iterTargetPhrase) {
const TargetPhrase& targetPhrase = **iterTargetPhrase;
- const ScoreComponentCollection &transScores = targetPhrase.GetScoreBreakdown();
+ // const ScoreComponentCollection &transScores = targetPhrase.GetScoreBreakdown();
// skip if the
if (targetPhrase.GetSize() != currSize) continue;
@@ -197,7 +197,7 @@ const InputPath &DecodeStepTranslation::GetInputPathLEGACY(
const Phrase &phraseFromIP = inputPath.GetPhrase();
const Word &wordIP = phraseFromIP.GetWord(0);
- const WordsRange &range = inputPath.GetWordsRange();
+ // const WordsRange &range = inputPath.GetWordsRange();
if (wordFromPt == wordIP) {
return inputPath;
@@ -238,7 +238,7 @@ void DecodeStepTranslation::ProcessLEGACY(const TranslationOption &inputPartialT
for (iterTargetPhrase = phraseColl->begin(); iterTargetPhrase != iterEnd; ++iterTargetPhrase) {
const TargetPhrase& targetPhrase = **iterTargetPhrase;
- const ScoreComponentCollection &transScores = targetPhrase.GetScoreBreakdown();
+ // const ScoreComponentCollection &transScores = targetPhrase.GetScoreBreakdown();
// skip if the
if (targetPhrase.GetSize() != currSize) continue;