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/WordLattice.cpp | |
parent | dc8ad899454bd82408c6a371d5f50e497ede0caa (diff) |
Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores.
Diffstat (limited to 'moses/WordLattice.cpp')
-rw-r--r-- | moses/WordLattice.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/moses/WordLattice.cpp b/moses/WordLattice.cpp index 51ef4be9e..e597affc5 100644 --- a/moses/WordLattice.cpp +++ b/moses/WordLattice.cpp @@ -147,7 +147,11 @@ InitializeFromPCNDataType return !cn.empty(); } -int WordLattice::Read(std::istream& in,const std::vector<FactorType>& factorOrder) +int +WordLattice:: +Read(std::istream& in, + std::vector<FactorType> const& factorOrder, + AllOptions const& opts) { Clear(); std::string line; |