Commit Graph

10345 Commits

Author SHA1 Message Date
Hieu Hoang
a974bbafac Merge pull request #37 from neubig/ems-interpolate-scientific
Fixed crash in interpolation for small lambdas
2013-06-07 16:24:32 -07:00
Hieu Hoang
6f21727ecd table limit = 0 means no limit, for on-disk 2013-06-08 00:22:27 +01:00
Hieu Hoang
e8b1eb047c multiple LMs 2013-06-07 21:08:05 +01:00
Hieu Hoang
d281d025cf implement feature override as a run-time override of specific argument of a feature function. Only implemented table-limit for far 2013-06-07 17:42:23 +01:00
Hieu Hoang
e291c5f4a4 implement feature override as a run-time override of specific argument of a feature function. Only implemented table-limit for far 2013-06-07 17:32:01 +01:00
Hieu Hoang
41b9cafedf separate vectors of translations scores from input scores 2013-06-06 22:28:58 +01:00
Hieu Hoang
61fcd60467 separate vectors of translations scores from input scores 2013-06-06 22:03:43 +01:00
Hieu Hoang
23fba08ded minor 2013-06-06 21:49:38 +01:00
Hieu Hoang
6cbd718847 minor 2013-06-06 21:29:02 +01:00
Hieu Hoang
9fb7bf9ca4 minor 2013-06-06 21:25:51 +01:00
Hieu Hoang
df4b8e5828 m_numInputScores deleted from PhraseDictionary. 2013-06-06 18:54:44 +01:00
Hieu Hoang
f437ab52e1 split score vector into phrase table scores and input scores. Save input score to InputFeature place 2013-06-06 18:33:18 +01:00
Hieu Hoang
cf910955d0 cleanup LoadFeatureFunctions() 2013-06-06 15:51:31 +01:00
Hieu Hoang
dc6479fad9 eclipse 2013-06-06 15:09:05 +01:00
phikoehn
d0699b177d alternate weight settings can now ignore decoding graphs 2013-06-06 14:48:52 +01:00
Rico Sennrich
3a5cae51d3 fix n-best output of sparse features for hiero models
(weren't found by regex in mert-moses.pl, line 1327)
2013-06-06 12:19:14 +02:00
phikoehn
081710ed4c alternate weight settings: added option to turn off features completely 2013-06-05 19:44:43 +01:00
phikoehn
b0bf6a23b9 Merge branch 'master' of ssh://github.com/moses-smt/mosesdecoder 2013-06-05 14:06:27 +01:00
phikoehn
d261106571 alternate weight setting now with correct caching 2013-06-05 14:06:04 +01:00
Hieu Hoang
b9f54b195a implement GenerationDictionary.Load() 2013-06-05 13:42:56 +01:00
Kenneth Heafield
36c17f3c93 librt only for single-threaded linux 2013-06-05 12:30:05 +01:00
Kenneth Heafield
241432b47a Missing header 2013-06-05 09:51:00 +01:00
Kenneth Heafield
611df02326 librt for single threaded 2013-06-05 09:41:44 +01:00
Hieu Hoang
0c48e687d1 delete information on input scores from StaticData 2013-06-05 01:41:52 +01:00
Hieu Hoang
e682578a42 update confusion network to query InputFeature for paramters, rather than StaticData 2013-06-05 01:13:25 +01:00
Hieu Hoang
cc0f00049e update confusion network to query InputFeature for paramters, rather than StaticData 2013-06-05 00:50:24 +01:00
Hieu Hoang
fc7e4f4550 minor cleanup of InputFeature 2013-06-04 22:09:21 +01:00
Hieu Hoang
7f1a6041ba explicitly declare how many scores there are in language model features 2013-06-04 21:49:37 +01:00
Hieu Hoang
4232188fe4 new function Parameter::Save() to serialise ini file parameters 2013-06-04 17:01:10 +01:00
Hieu Hoang
9a7ad99104 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-06-04 15:02:31 +01:00
Matous Machacek
3055be8837 fixed two bugs in CderScorer.cpp 2013-06-03 16:59:13 +02:00
Ian Johnson
513af400ee Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-06-03 13:50:08 +01:00
Ian Johnson
15f197604d Updated PCL: fixes bugs in type derivation where fanout operations are used. 2013-06-03 13:49:58 +01:00
Rico Sennrich
8581fb9518 fix (minor) unicode warning, and update permissions 2013-06-03 13:48:31 +02:00
Hieu Hoang
21ff6d4831 beautify 2013-06-03 12:33:18 +01:00
Graham Neubig
33d5aac6af Fixed crash in interpolation for small lambdas
The EMS crashed when interpolating language models when the ideal lambdas included numbers so small that they required scientific notation (eg: 1.332e-07). This patch adds "e" and "-" to the acceptable numbers to fix this problem
2013-06-01 12:37:24 +09:00
Hieu Hoang
3b76143072 refactor loading in class PhraseDictionaryFuzzyMatch 2013-05-31 23:39:19 +01:00
Hieu Hoang
7839b8f0d1 refactor loading in class LexicalReordering 2013-05-31 23:04:05 +01:00
Hieu Hoang
695617d930 consistent Load() for all feature functions. Can be used not to load if doing --show-weights 2013-05-31 20:50:13 +01:00
Hieu Hoang
eaf53769ad consistent Load() for all feature functions. Can be used not to load if doing --show-weights 2013-05-31 20:21:02 +01:00
Hieu Hoang
d81b049430 request pulled in error 2013-05-31 15:13:43 +01:00
Hieu Hoang
f2064fee26 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-05-31 15:08:37 +01:00
Hieu Hoang
a1990c77d3 Merge pull request #36 from lixiangnlp/patch-2
Swap for sized iterator
2013-05-31 07:10:18 -07:00
Hieu Hoang
7fc87f46a9 Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-05-31 15:07:20 +01:00
Hieu Hoang
173cfffaac Reapply Abby Levenberg's log change @4b4aba3 2013-05-31 15:06:36 +01:00
Hieu Hoang
0db5504629 port PhraseDictionaryDynSuffixArray to new ini format. Scores aren't the same. Probably something to do with Abby Levenberg's log change 2013-05-31 15:02:34 +01:00
phikoehn
d1650a5aa7 basic support for alternate weight settings 2013-05-31 12:28:57 +01:00
phikoehn
68501f5a36 bug fix with weight substitution 2013-05-31 12:27:35 +01:00
Hieu Hoang
061e5b8259 reset list of feature function for every decode graph 2013-05-31 00:46:28 +01:00
Hieu Hoang
bc0fdfbd79 delete LM:Useable(). Superseded by IsUseable() for all feature functions 2013-05-31 00:11:38 +01:00