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 <hieuhoang@gmail.com>2014-12-05 20:59:53 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-05 20:59:53 +0300
commit23ca29a2ea13bfa12210f4f278785aefdd45a672 (patch)
tree7a10fd28d59c5c22e9848bd44f6d1ad09e9d7a31 /moses/Incremental.h
parent0d8e20980eed5f6fcefe89584dc5995e39b091a2 (diff)
add Decode to API framework
Diffstat (limited to 'moses/Incremental.h')
-rw-r--r--moses/Incremental.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/moses/Incremental.h b/moses/Incremental.h
index 0bb8e0b62..ea4b3feda 100644
--- a/moses/Incremental.h
+++ b/moses/Incremental.h
@@ -30,7 +30,9 @@ public:
template <class Model> void LMCallback(const Model &model, const std::vector<lm::WordIndex> &words);
- const std::vector<search::Applied> &ProcessSentence();
+ void Decode();
+
+ const std::vector<search::Applied> &GetNBest() const;
// Call to get the same value as ProcessSentence returned.
const std::vector<search::Applied> &Completed() const {