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-12-10 06:17:36 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-12-11 04:09:22 +0300
commit29694af6e43c1cec7a6fd0b157eb44faca706129 (patch)
treeacda250a83c5a3a4244be011f1f4b9e6337f5d6b /moses/WordLattice.h
parent240b88c6834c9c94e8a6448a34dc4ad33bdf3fbd (diff)
Code cleanup and refactoring.
Diffstat (limited to 'moses/WordLattice.h')
-rw-r--r--moses/WordLattice.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/moses/WordLattice.h b/moses/WordLattice.h
index c764a4840..f36569e78 100644
--- a/moses/WordLattice.h
+++ b/moses/WordLattice.h
@@ -40,14 +40,11 @@ public:
/** Given a lattice represented using the PCN::CN data type (topologically sorted agency list
* representation), initialize the WordLattice object
*/
- int InitializeFromPCNDataType(const PCN::CN& cn, size_t const maxPhraseLength,
- const std::vector<FactorType>& factorOrder,
- const std::string& debug_line = "");
+ int InitializeFromPCNDataType(const PCN::CN& cn, const std::string& debug_line = "");
+
/** Read from PLF format (1 lattice per line)
*/
- int Read(std::istream& in,
- std::vector<FactorType> const& factorOrder,
- AllOptions const& opts);
+ int Read(std::istream& in);
/** Convert internal representation into an edge matrix
* @note edges[1][2] means there is an edge from 1 to 2