diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-13 15:12:58 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-13 15:12:58 +0400 |
commit | f6761003285ef52c4c21ddc9a2650f42ea867212 (patch) | |
tree | 1155cf39b1c6ba472cde75674a6cf18bcc615e88 /moses/ChartParserCallback.h | |
parent | af74ee1968e96360ee92fde098a02c79b94e0024 (diff) |
implement Evaluate(inputpath, input) for chart translation options. Plumbing for lattice input
Diffstat (limited to 'moses/ChartParserCallback.h')
-rw-r--r-- | moses/ChartParserCallback.h | 4 |
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 |