summaryrefslogtreecommitdiff
path: root/klm
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-10-01 09:43:08 -0700
committerKenneth Heafield <github@kheafield.com>2012-10-01 09:43:08 -0700
commit78852b7e349b1a3c68596178b60c7631b8836336 (patch)
tree8a5bd0c220c5521320185ed3a783b244105e84cc /klm
parent4ee3f6368fb5698a07af98c158ebc75f819ec5e4 (diff)
parentdfed8371aefe3ed552a755732f7e7a5126a40629 (diff)
Merge branch 'master' of github.com:kpu/cdec
Diffstat (limited to 'klm')
-rw-r--r--klm/alone/main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/klm/alone/main.cc b/klm/alone/main.cc
index 7768b89c..e09ab01d 100644
--- a/klm/alone/main.cc
+++ b/klm/alone/main.cc
@@ -29,7 +29,8 @@ template <class Control> void ReadLoop(const std::string &graph_prefix, Control
template <class Model> void RunWithModelType(const char *graph_prefix, const char *model_file, StringPiece weight_str, unsigned int pop_limit, unsigned int threads) {
Model model(model_file);
- search::Config config(weight_str, pop_limit);
+ search::Weights weights(weight_str);
+ search::Config config(weights, pop_limit);
if (threads > 1) {
#ifdef WITH_THREADS