From f6761003285ef52c4c21ddc9a2650f42ea867212 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Tue, 13 Aug 2013 12:12:58 +0100 Subject: implement Evaluate(inputpath, input) for chart translation options. Plumbing for lattice input --- moses/ChartParserCallback.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'moses/ChartParserCallback.h') diff --git a/moses/ChartParserCallback.h b/moses/ChartParserCallback.h index 84ddb8b75..b68346c5f 100644 --- a/moses/ChartParserCallback.h +++ b/moses/ChartParserCallback.h @@ -10,6 +10,8 @@ namespace Moses class TargetPhraseCollection; class WordsRange; class TargetPhrase; +class InputPath; +class InputType; class ChartParserCallback { @@ -21,6 +23,8 @@ public: virtual bool Empty() const = 0; virtual void AddPhraseOOV(TargetPhrase &phrase, std::list &waste_memory, const WordsRange &range) = 0; + + virtual void Evaluate(const InputPath &inputPath, const InputType &input) = 0; }; } // namespace Moses -- cgit v1.2.3