diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-31 15:50:52 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-31 15:50:52 +0300 |
commit | 324c378f7fc54f02a8ea264915d3eade867ff23d (patch) | |
tree | 2bb934fee448845b0524427d437c871e7118ac2c /moses/AlignmentInfo.h | |
parent | dc8ad899454bd82408c6a371d5f50e497ede0caa (diff) |
Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores.
Diffstat (limited to 'moses/AlignmentInfo.h')
-rw-r--r-- | moses/AlignmentInfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/AlignmentInfo.h b/moses/AlignmentInfo.h index c74ff340c..50a4bf550 100644 --- a/moses/AlignmentInfo.h +++ b/moses/AlignmentInfo.h @@ -26,7 +26,7 @@ #include <cstdlib> #include <boost/functional/hash.hpp> - +#include "TypeDef.h" namespace Moses { @@ -83,7 +83,8 @@ public: return m_collection.size(); } - std::vector< const std::pair<size_t,size_t>* > GetSortedAlignments() const; + std::vector< const std::pair<size_t,size_t>* > + GetSortedAlignments(WordAlignmentSort SortOrder) const; std::vector<size_t> GetSourceIndex2PosMap() const; |