Commit Graph

51 Commits

Author SHA1 Message Date
Hieu Hoang
0990d92ac8 return reference to object, not a copy 2016-08-18 22:45:45 +01:00
MosesAdmin
dad1bd6127 daily automatic beautifier 2015-11-12 00:00:40 +00:00
Ulrich Germann
9826599cb0 Enforce const-ness of command line arguments; bug fix in mosesserver.cpp. 2015-11-11 01:08:05 +00:00
MosesAdmin
f38976aba0 daily automatic beautifier 2015-11-02 00:00:37 +00:00
Ulrich Germann
324c378f7f Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores. 2015-10-31 12:50:52 +00:00
Hieu Hoang
cc8c6b7b10 beautify 2015-05-02 11:45:24 +01:00
Jeroen Vermeulen
eca5824100 Remove trailing whitespace in C++ files. 2015-04-30 12:05:11 +07:00
Ulrich Germann
612e014e79 Organized command line options thematically.
This is the first step in migration to the use of boost::program_options for GNU/Linux-style handling of command line options.
2015-03-05 00:34:02 +00:00
Hieu Hoang
05ead45e71 beautify 2015-01-14 11:07:42 +00:00
Nicola Bertoldi
e4eb201c52 merged master into dynamic-models and solved conflicts 2014-12-13 12:52:47 +01:00
Hieu Hoang
46e7aebce4 move SetBooleanParameter to Parameter class. Make it a specialized version of template SetParameter 2014-11-30 20:15:15 +00:00
Hieu Hoang
b2c0fa097c make GetParam() a const method with no side effect 2014-11-28 18:33:45 +00:00
Hieu Hoang
da8b4b74eb make GetParam() a const method with no side effect 2014-11-28 18:29:03 +00:00
Hieu Hoang
b70c34a083 make GetParam() a const method with no side effect 2014-11-27 17:49:08 +00:00
Hieu Hoang
194b84eeec Parameter class cleanup 2014-11-26 17:54:52 +00:00
Hieu Hoang
a2bb435a1a make GetParam() a const method with no side effect 2014-11-26 16:41:25 +00:00
Hieu Hoang
c87db0c141 Parameter error 2014-11-20 17:05:08 +00:00
Hieu Hoang
c346a4b198 Add rt library 2014-11-20 15:02:05 +00:00
Hieu Hoang
8137aeae43 Small changes to Parameters and StaticData 2014-11-20 11:21:50 +00:00
Nicola Bertoldi
4d75c889f1 merged master into dynamic-models 2014-06-08 09:39:37 +02:00
Hieu Hoang
7909dcf094 add decoder arg -weight-add 2014-05-31 19:52:30 +01:00
Nicola Bertoldi
2f3cd5e2fe beautify 2014-05-19 15:34:27 +02:00
Nicola Bertoldi
20381cbf89 merged master into dynamic-models and solved conflicts 2014-04-28 19:18:38 +02:00
Rico Sennrich
5d2b4d8efc sparse feature weights can now be set in moses.ini; overrides weights in weight-file. 2014-01-20 15:54:17 +00:00
Nicola Bertoldi
47bece6eac code cleanup; fixings to others' code/test 2014-01-15 16:16:37 +01:00
Nicola Bertoldi
50970b2b59 merge master into this branch 2014-01-14 08:50:18 +01:00
Hieu Hoang
2d8f9bc515 bug fixes for TargetNGramFeature 2013-11-11 15:32:58 +00:00
Hieu Hoang
d51702f387 output list of available feature functions 2013-11-01 15:16:47 +00:00
Ulrich Germann
82274ffda7 Merge branch 'dynamic-phrase-tables'
Conflicts:
	moses/FF/ControlRecombination.cpp
	moses/Phrase.cpp
2013-09-25 13:52:05 +01:00
=
7ce803ef1e Formatting. 2013-09-25 00:47:08 +01:00
braunefe
f23c1d7769 Added All Translation Options for DIMw 2013-09-23 16:30:28 +02:00
Hieu Hoang
bfdedf682b convert weight-p to PhrasePenalty. /Nicola Bertoldi 2013-08-14 12:36:40 +01:00
Hieu Hoang
aa7eabf850 add parameter argument -feature-add for mira BLEU score feature 2013-08-13 15:34:03 +01:00
Nicola Bertoldi
7411227305 clean up related to the PhrrasePenalty producer
transform the PhrasePenalty basic feature functions into a FF like
WordPenalty
2013-08-11 23:32:54 +02:00
Hieu Hoang
4232188fe4 new function Parameter::Save() to serialise ini file parameters 2013-06-04 17:01:10 +01:00
Hieu Hoang
6249432407 beautify 2013-05-29 18:16:15 +01:00
Hieu Hoang
aa9689d12b rescale LM score for chart decoding 2013-04-26 19:39:29 +01:00
Hieu Hoang
b53b93f09f gt rid of word penalty of 0.434. Adjust weight accordingly 2013-04-24 19:23:14 +01:00
Hieu Hoang
b18ebf2e09 delete &GetWeights() 2013-03-06 16:12:05 +00:00
Hieu Hoang
881787de3f Allow overriding of feature name 2013-03-06 14:04:09 +00:00
Hieu Hoang
194adf8130 change format for phrase model 2013-02-22 19:17:57 +00:00
Hieu Hoang
f7e3f20013 each language model should have separate description, rather than just 'LM' 2013-02-06 20:05:00 +00:00
Hieu Hoang
75ef646918 refactor LanguageModel 2013-01-17 17:15:10 +00:00
Hieu Hoang
3bbccf078c refactor LexicalReordering 2013-01-15 18:32:13 +00:00
hieu
6694df6519 mert-moses.perl create ini file in new format 2012-12-14 16:43:12 +00:00
hieu
55c46cab49 train-model.perl create ini file in new format 2012-12-14 12:32:45 +00:00
hieu
58199037b0 input weight formatted according to discussions with Ken & Barry 2012-12-12 19:35:06 +00:00
hieu
e84f7d6292 input weight formatted according to discussions with Ken & Barry 2012-12-12 18:30:11 +00:00
hieu
1ffae8010d input weight formatted according to discussions with Ken & Barry 2012-12-11 18:57:42 +00:00
Hieu Hoang
768d165600 works ok for plain phrase-based decoding. No lexical reordering model 2012-12-05 17:12:01 +00:00