diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-11-15 21:43:41 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-11-15 21:43:41 +0400 |
commit | 3f8972d67b4fb566a3ad644c61dc9745e6a14d74 (patch) | |
tree | 16bc8af2b87b3bae21fed5b2e33580305ff1f4a7 /moses-cmd | |
parent | c9d09a716872231b80e38db6bd6668d4e54bb991 (diff) |
move collection of generation-table from Staticdata to GenerationDictionary
Diffstat (limited to 'moses-cmd')
-rw-r--r-- | moses-cmd/Main.cpp | 2 |
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); } |