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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-11-19 16:54:24 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-11-19 16:54:24 +0300
commitc610d0a6e74d627801c5603b50a7342c47ad651f (patch)
tree670001874572448f778000cd92c95bd4dcb5b373 /moses/FF/ConstrainedDecoding.h
parentedacfbb9fd3830382e3e98b7ece4fd830937e657 (diff)
Code decluttering.
The class StatefuleFeatureFunction now provides an empty dummy implementation of various (virtual) Evaluate... functions. The corresponding empty implementations on derived classes have been removed.
Diffstat (limited to 'moses/FF/ConstrainedDecoding.h')
-rw-r--r--moses/FF/ConstrainedDecoding.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/moses/FF/ConstrainedDecoding.h b/moses/FF/ConstrainedDecoding.h
index 3f28c43e1..769edd80f 100644
--- a/moses/FF/ConstrainedDecoding.h
+++ b/moses/FF/ConstrainedDecoding.h
@@ -42,24 +42,6 @@ public:
return true;
}
- void EvaluateInIsolation(const Phrase &source
- , const TargetPhrase &targetPhrase
- , ScoreComponentCollection &scoreBreakdown
- , ScoreComponentCollection &estimatedScores) const {
- }
-
- void EvaluateWithSourceContext(const InputType &input
- , const InputPath &inputPath
- , const TargetPhrase &targetPhrase
- , const StackVec *stackVec
- , ScoreComponentCollection &scoreBreakdown
- , ScoreComponentCollection *estimatedScores = NULL) const {
- }
-
- void EvaluateTranslationOptionListWithSourceContext(const InputType &input
- , const TranslationOptionList &translationOptionList) const {
- }
-
FFState* EvaluateWhenApplied(
const Hypothesis& cur_hypo,
const FFState* prev_state,