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
commit1ad8b70697da52c4acd96862ae3104893de3f133 (patch)
treeb8aadccfca73281ea62bdc5559f0b52856574563 /vest
parent7ba6dfa8cc30eab0e5317c9ec4c7bee7ce5e507d (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();