summaryrefslogtreecommitdiff
path: root/vest
diff options
context:
space:
mode:
authorgraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-07 20:12:07 +0000
committergraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-07 20:12:07 +0000
commit7d8e52210536a1fe6f5656caf65b47e97096ce8c (patch)
tree90261284d224badaa0c7ac2ba97302c5011b8ea5 /vest
parent78a5f4297dcfce6c4a904322c2e989b612a6105a (diff)
init bleumodel in generate
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@491 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'vest')
-rw-r--r--vest/mr_vest_generate_mapper_input.cc4
1 files changed, 2 insertions, 2 deletions
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();