From 7d8e52210536a1fe6f5656caf65b47e97096ce8c Mon Sep 17 00:00:00 2001 From: "graehl@gmail.com" Date: Sat, 7 Aug 2010 20:12:07 +0000 Subject: init bleumodel in generate git-svn-id: https://ws10smt.googlecode.com/svn/trunk@491 ec762483-ff6d-05da-a07a-a48fb63a330f --- vest/mr_vest_generate_mapper_input.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vest') diff --git a/vest/mr_vest_generate_mapper_input.cc b/vest/mr_vest_generate_mapper_input.cc index 14342a43..932b3743 100644 --- a/vest/mr_vest_generate_mapper_input.cc +++ b/vest/mr_vest_generate_mapper_input.cc @@ -137,7 +137,6 @@ struct oracle_directions { exit(0); } - UseConf(*conf); return; bad_cmdline: cerr << dcmdline_options << endl; @@ -147,12 +146,13 @@ struct oracle_directions { int main(int argc, char *argv[]) { po::variables_map conf; InitCommandLine(argc,argv,&conf); + init_bleumodel(); + UseConf(*conf); Run(); return 0; } bool verbose() const { return oracle.verbose; } void Run() { - init_bleumodel(); // register_feature_functions(); AddPrimaryAndRandomDirections(); AddOracleDirections(); -- cgit v1.2.3