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-08-13 15:12:58 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-13 15:12:58 +0400
commitf6761003285ef52c4c21ddc9a2650f42ea867212 (patch)
tree1155cf39b1c6ba472cde75674a6cf18bcc615e88 /moses/ChartParserCallback.h
parentaf74ee1968e96360ee92fde098a02c79b94e0024 (diff)
implement Evaluate(inputpath, input) for chart translation options. Plumbing for lattice input
Diffstat (limited to 'moses/ChartParserCallback.h')
-rw-r--r--moses/ChartParserCallback.h4
1 files changed, 4 insertions, 0 deletions
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<TargetPhraseCollection*> &waste_memory, const WordsRange &range) = 0;
+
+ virtual void Evaluate(const InputPath &inputPath, const InputType &input) = 0;
};
} // namespace Moses