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:26:26 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-11-15 21:26:26 +0400
commit2f00ae936bbe943c0347a66b80d7613eaddfe1aa (patch)
tree59bef20ecfa250099d63164ca8d48bcb9cc431f3 /moses-cmd
parent79fb8a1df4dbb030455f66e51ea308abd5c2285b (diff)
move collection of phrase-table from Staticdata to PhraseDictionary
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 b3695a06f..6e12675da 100644
--- a/moses-cmd/Main.cpp
+++ b/moses-cmd/Main.cpp
@@ -530,7 +530,7 @@ void OutputFeatureWeightsForHypergraph(std::ostream &outputSearchGraphStream)
featureIndex = OutputFeatureWeightsForHypergraph(featureIndex, slf[i], outputSearchGraphStream);
}
}
- const vector<PhraseDictionary*>& pds = staticData.GetPhraseDictionaries();
+ const vector<PhraseDictionary*>& pds = PhraseDictionary::GetColl();
for( size_t i=0; i<pds.size(); i++ ) {
featureIndex = OutputFeatureWeightsForHypergraph(featureIndex, pds[i], outputSearchGraphStream);
}