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
path: root/moses/LM
diff options
context:
space:
mode:
authorMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2015-01-06 15:56:13 +0300
committerMarcin Junczys-Dowmunt <junczys@amu.edu.pl>2015-01-06 15:56:13 +0300
commit18691c19a3322e6837e529ab699609e8e9637989 (patch)
treeefdda9734cd7da2c1967f4cf836d756b4f1b55f0 /moses/LM
parent4e334f2b4e11ea2a89699a72e63a01fe1f3113b5 (diff)
second attempt at new feature hook, needs review of constness etc.
Diffstat (limited to 'moses/LM')
-rw-r--r--moses/LM/Base.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/moses/LM/Base.h b/moses/LM/Base.h
index de65589bb..016975d06 100644
--- a/moses/LM/Base.h
+++ b/moses/LM/Base.h
@@ -91,6 +91,7 @@ public:
, const TargetPhrase &targetPhrase
, ScoreComponentCollection &scoreBreakdown
, ScoreComponentCollection &estimatedFutureScore) const;
+
void EvaluateWithSourceContext(const InputType &input
, const InputPath &inputPath
, const TargetPhrase &targetPhrase
@@ -99,15 +100,10 @@ public:
, ScoreComponentCollection *estimatedFutureScore = NULL) const
{}
- void EvaluateWithSourceContextCollection(const InputType &input
- , const InputPath &inputPath
- , const TargetPhraseCollection &targetPhraseCollection
- , const StackVec *stackVec
- , ScoreComponentCollection &scoreBreakdown
- , ScoreComponentCollection *estimatedFutureScore = NULL) const
+ void EvaluateTranslationOptionListWithSourceContext(const InputType &input
+ , const TranslationOptionList &translationOptionList) const
{}
-
};
}