summaryrefslogtreecommitdiff
path: root/gi
diff options
context:
space:
mode:
authorChris Dyer <prguest11@taipan.cs>2012-03-04 23:26:17 +0000
committerChris Dyer <prguest11@taipan.cs>2012-03-04 23:26:17 +0000
commit441c4e5d45d989bee8405e410ab343d11cae8164 (patch)
tree3ba514937146551a8829d5f1003239c8a81b7979 /gi
parent9aca7f30dda576a453eee64bb4ff0e8bd11a9b85 (diff)
fix parameter name clash
Diffstat (limited to 'gi')
-rw-r--r--gi/pf/pyp_lm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pf/pyp_lm.cc b/gi/pf/pyp_lm.cc
index 88dfcc7c..e5c44c8b 100644
--- a/gi/pf/pyp_lm.cc
+++ b/gi/pf/pyp_lm.cc
@@ -29,7 +29,7 @@ shared_ptr<MT19937> prng;
void InitCommandLine(int argc, char** argv, po::variables_map* conf) {
po::options_description opts("Configuration options");
opts.add_options()
- ("samples,s",po::value<unsigned>()->default_value(300),"Number of samples")
+ ("samples,n",po::value<unsigned>()->default_value(300),"Number of samples")
("train,i",po::value<string>(),"Training data file")
("test,T",po::value<string>(),"Test data file")
("discount_prior_a,a",po::value<double>()->default_value(1.0), "discount ~ Beta(a,b): a=this")