diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-05 20:59:53 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-12-05 20:59:53 +0300 |
commit | 23ca29a2ea13bfa12210f4f278785aefdd45a672 (patch) | |
tree | 7a10fd28d59c5c22e9848bd44f6d1ad09e9d7a31 /moses/Incremental.h | |
parent | 0d8e20980eed5f6fcefe89584dc5995e39b091a2 (diff) |
add Decode to API framework
Diffstat (limited to 'moses/Incremental.h')
-rw-r--r-- | moses/Incremental.h | 4 |
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 { |