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:
authorHieu Hoang <hieuhoang@gmail.com>2013-11-15 21:43:41 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-11-15 21:43:41 +0400
commit3f8972d67b4fb566a3ad644c61dc9745e6a14d74 (patch)
tree16bc8af2b87b3bae21fed5b2e33580305ff1f4a7 /moses-cmd
parentc9d09a716872231b80e38db6bd6668d4e54bb991 (diff)
move collection of generation-table from Staticdata to GenerationDictionary
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses-cmd/Main.cpp b/moses-cmd/Main.cpp
index 6e12675da..0e60c88df 100644
--- a/moses-cmd/Main.cpp
+++ b/moses-cmd/Main.cpp
@@ -534,7 +534,7 @@ void OutputFeatureWeightsForHypergraph(std::ostream &outputSearchGraphStream)
for( size_t i=0; i<pds.size(); i++ ) {
featureIndex = OutputFeatureWeightsForHypergraph(featureIndex, pds[i], outputSearchGraphStream);
}
- const vector<const GenerationDictionary*>& gds = staticData.GetGenerationDictionaries();
+ const vector<GenerationDictionary*>& gds = GenerationDictionary::GetColl();
for( size_t i=0; i<gds.size(); i++ ) {
featureIndex = OutputFeatureWeightsForHypergraph(featureIndex, gds[i], outputSearchGraphStream);
}