Commit Graph

2613 Commits

Author SHA1 Message Date
Hieu Hoang
c2f4c48758 clean up SetParameter() 2013-06-19 00:24:21 +01:00
Kenneth Heafield
1b87f29332 ChartDecoding isn't the only syntax algorithm 2013-06-18 10:21:47 -04:00
Hieu Hoang
c70537dd87 separate retrieving of translation options for sentences from confusion networks/lattices. Ready to optimise for sentences 2013-06-17 20:23:25 +01:00
Hieu Hoang
4ccb1c9dec create prefix array for sentence input 2013-06-17 19:45:47 +01:00
Hieu Hoang
acb4baacaf delete 2 unused legacy functions 2013-06-17 18:46:40 +01:00
Hieu Hoang
e51c4feb6b push calling of OnlyTheseFactors() to individual PT implementations, as needed 2013-06-17 18:31:06 +01:00
Hieu Hoang
8c6344c4ce segment confusion network in class TranslationOptionCollectionConfusionNet, rather than in PDAImp. Get ready to make it work with any phrase table 2013-06-14 23:42:30 +01:00
Hieu Hoang
3516ef42b8 segment confusion network in class TranslationOptionCollectionConfusionNet, rather than in PDAImp. Get ready to make it work with any phrase table 2013-06-14 21:22:38 +01:00
Hieu Hoang
0b3a84f730 segment confusion network in class TranslationOptionCollectionConfusionNet, rather than in PDAImp. Get ready to make it work with any phrase table 2013-06-14 21:16:12 +01:00
Hieu Hoang
047fff4dc5 implement IsUseable() correctly for SourceWordDeletionFeature 2013-06-14 19:49:51 +01:00
Hieu Hoang
f7371cf53d calculate m_featuresToApply in Load() for PhraseDictionary. Since every phrase dictionary now has to implement it, make Load() for PhraseDictionary abstract 2013-06-14 18:34:47 +01:00
Hieu Hoang
0d6565b9a5 segment confusion network in class TranslationOptionCollectionConfusionNet, rather than in PDAImp. Get ready to make it work with any phrase table 2013-06-14 15:43:18 +01:00
Hieu Hoang
2615a93224 default number of dense features = 1 2013-06-14 11:02:22 +01:00
Rico Sennrich
b1b70e802d use read-write lock in multimodel 2013-06-12 15:25:53 +02:00
Rico Sennrich
9e9cbbc13b refactoring multimodel code out of StaticData; locking. 2013-06-12 14:47:40 +02:00
Hieu Hoang
5becd868a9 delete misc unused variables from PhraseDictionary 2013-06-11 16:31:43 +01:00
Hieu Hoang
13299ab2a8 delete pre-calculated scoring in ChartHypothesis. Should be subsumed by new scoring framework. Rename CalcScore() to Evaluate() 2013-06-11 16:08:59 +01:00
Hieu Hoang
f01ee737b0 refactor parsing of feature functiona args 2013-06-11 02:54:16 +01:00
Hieu Hoang
983f76b5cb refactor parsing of feature functiona args 2013-06-11 02:41:06 +01:00
Hieu Hoang
61e2b7a24f refactor parsing of feature functiona args 2013-06-11 01:46:04 +01:00
Hieu Hoang
b4ad093334 refactor parsing of feature functiona args 2013-06-11 00:05:12 +01:00
Hieu Hoang
b717114818 refactor parsing of feature functiona args 2013-06-10 23:16:28 +01:00
Hieu Hoang
efa42b451c refactor parsing of feature functiona args 2013-06-10 21:24:31 +01:00
Hieu Hoang
abe6bb7c22 refactor parsing of feature functiona args 2013-06-10 18:11:55 +01:00
Hieu Hoang
96d116dba0 refactor parsing of feature functiona args 2013-06-10 16:29:07 +01:00
Hieu Hoang
14e676ab03 must create alignment before evaluating. Some feature function require alignments 2013-06-10 01:24:14 +01:00
Hieu Hoang
492bfaa27a refactor WordTranslationFeature::Load() 2013-06-09 20:23:10 +01:00
Hieu Hoang
b4ca44e8af refactor TargetWordInsertionFeature::Load() 2013-06-09 20:09:21 +01:00
Hieu Hoang
416e3c435b sparse features in binary phrase table 2013-06-09 19:17:35 +01:00
Hieu Hoang
82224a7a46 feature functions can be both sparse AND dense 2013-06-09 18:48:09 +01:00
Hieu Hoang
d7ed014c5d Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-06-09 17:09:52 +01:00
phikoehn
0538ac84d6 nuke silly debug message 2013-06-09 14:54:13 +01:00
Hieu Hoang
a60f46a13e comment 2013-06-09 12:47:27 +01: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
phikoehn
d0699b177d alternate weight settings can now ignore decoding graphs 2013-06-06 14:48:52 +01: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