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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-10-31 15:50:52 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-10-31 15:50:52 +0300
commit324c378f7fc54f02a8ea264915d3eade867ff23d (patch)
tree2bb934fee448845b0524427d437c871e7118ac2c /moses/WordLattice.h
parentdc8ad899454bd82408c6a371d5f50e497ede0caa (diff)
Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores.
Diffstat (limited to 'moses/WordLattice.h')
-rw-r--r--moses/WordLattice.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/moses/WordLattice.h b/moses/WordLattice.h
index 70b1602f2..992fb9498 100644
--- a/moses/WordLattice.h
+++ b/moses/WordLattice.h
@@ -43,8 +43,10 @@ public:
int InitializeFromPCNDataType(const PCN::CN& cn, const std::vector<FactorType>& factorOrder, const std::string& debug_line = "");
/** Read from PLF format (1 lattice per line)
*/
- int Read(std::istream& in,const std::vector<FactorType>& factorOrder);
-
+ int Read(std::istream& in,
+ std::vector<FactorType> const& factorOrder,
+ AllOptions const& opts);
+
/** Convert internal representation into an edge matrix
* @note edges[1][2] means there is an edge from 1 to 2
*/