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/Incremental.cpp
parentaf74ee1968e96360ee92fde098a02c79b94e0024 (diff)
implement Evaluate(inputpath, input) for chart translation options. Plumbing for lattice input
Diffstat (limited to 'moses/Incremental.cpp')
-rw-r--r--moses/Incremental.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/Incremental.cpp b/moses/Incremental.cpp
index dffcd3e3e..6a2e594eb 100644
--- a/moses/Incremental.cpp
+++ b/moses/Incremental.cpp
@@ -97,6 +97,10 @@ public:
return vertex.BestChild();
}
+ void Evaluate(const InputPath &inputPath, const InputType &input)
+ {
+ // TODO for input lattice
+ }
private:
lm::WordIndex Convert(const Word &word) const;