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:
authorHieu Hoang <hieu@hoang.co.uk>2013-05-24 19:04:38 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-24 19:04:38 +0400
commitd2738122315fb7185a69001d281db66be0a0d6fc (patch)
treea54d4d679d51567ac21e20588cb6b8f5c0fb3ddb /moses/GenerationDictionary.h
parent78591e53e450ed5659d7ed26024acac7bd9756f2 (diff)
delete enum StatelessFeatureType. Features can be multiple types at once. Just overload the Evaluate() function you need
Diffstat (limited to 'moses/GenerationDictionary.h')
-rw-r--r--moses/GenerationDictionary.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/moses/GenerationDictionary.h b/moses/GenerationDictionary.h
index b0bdccbf6..6a1e4de9a 100644
--- a/moses/GenerationDictionary.h
+++ b/moses/GenerationDictionary.h
@@ -70,19 +70,6 @@ public:
*/
const OutputWordCollection *FindWord(const Word &word) const;
- //Usual feature function methods are not implemented
- virtual void Evaluate(const PhraseBasedFeatureContext& context,
- ScoreComponentCollection* accumulator) const
- {
- throw std::logic_error("GenerationDictionary::Evaluate() Not implemented");
- }
-
- virtual void EvaluateChart(const ChartBasedFeatureContext& context,
- ScoreComponentCollection* accumulator) const
- {
- throw std::logic_error("GenerationDictionary.Evaluate() Not implemented");
- }
-
};