Commit Graph

157 Commits

Author SHA1 Message Date
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
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
Hieu Hoang
65d2d68bc5 beautify 2013-05-31 00:00:21 +01:00
Hieu Hoang
117eb76b0a figure out which feature function to apply at which decode step. Book-keeping 2013-05-30 18:34:10 +01:00
Hieu Hoang
6249432407 beautify 2013-05-29 18:16:15 +01:00
Hieu Hoang
66afd6611b parse scores correctly. Assume dense features, always in the same order 2013-05-28 15:54:11 +01:00
Hieu Hoang
ed220e91a9 debug PhraseDictionaryALSuffixArray for Wilker. Sparse feature score to do 2013-05-28 15:38:36 +01:00
Hieu Hoang
0580e2bd11 delete create-ini 2013-05-28 13:11:37 +01:00
Hieu Hoang
036ea4ee29 delete sourcePhrase variable in TargetPhrase class 2013-05-28 11:38:18 +01:00
Hieu Hoang
ae82d02a05 delete sourcePhrase variable in TargetPhrase class 2013-05-28 00:41:25 +01:00
Hieu Hoang
e8dadb58ce split classes in DummyScoreProducers into separate files 2013-05-25 00:57:37 +01:00
Hieu Hoang
a80d838b0f move feature functions into moses/FF 2013-05-24 18:02:49 +01:00
Hieu Hoang
6c322ba05e move and rename PhraseDictionarySCFG -> PhraseDictionaryMemory 2013-05-24 16:33:30 +01:00
Hieu Hoang
4a280c8ca7 move and rename PhraseDictionarySCFG -> PhraseDictionaryMemory 2013-05-24 16:23:31 +01:00
Hieu Hoang
d273812231 delete enum StatelessFeatureType. Features can be multiple types at once. Just overload the Evaluate() function you need 2013-05-24 16:04:38 +01:00
Hieu Hoang
ca8007be12 leak 2013-05-23 15:29:25 +01:00
Hieu Hoang
b10ecf2b44 make each node in trie a pointer. No possibility that the node is delete during build of the trie 2013-05-23 12:50:57 +01:00
Hieu Hoang
6480805635 technical memory leak due to not cleaning up StaticData. Doesn't make much difference, but annoying messages from valgrind 2013-05-22 17:32:06 +01:00
Hieu Hoang
bfe321a068 change reference to sourceLHS to pointer, it can be NULL for phrase based. TODO - sourceLHS isn't being stored in the trie 2013-05-22 15:00:32 +01:00
Hieu Hoang
541bf99b9b Make Phrase::CreateFromString() more efficient 2013-05-22 14:41:28 +01:00
Hieu Hoang
bce3b36170 Make Phrase::CreateFromString() more efficient 2013-05-22 12:28:32 +01:00
Hieu Hoang
112bcdc925 Make Phrase::CreateFromString() more efficient 2013-05-22 12:03:00 +01:00
Hieu Hoang
f4a75b30f7 Make lhsTarget a pointer 2013-05-22 11:22:17 +01:00
Hieu Hoang
2f38746f6a delete references to translation feature weights. Everything is done automatically via Evaluate() for each feature function 2013-05-21 14:00:28 +01:00
Hieu Hoang
7dc177514d delete references to WordPenaltyProducer 2013-05-21 13:50:18 +01:00
Hieu Hoang
81003b9464 delete references to WordPenaltyProducer 2013-05-21 13:44:19 +01:00
Hieu Hoang
195186b335 delete references to WordPenaltyProducer 2013-05-21 13:39:31 +01:00
Hieu Hoang
0e1c246010 delete references to WordPenaltyProducer 2013-05-21 13:22:04 +01:00
Hieu Hoang
f4cf5f152b delete references to LMList 2013-05-21 13:00:26 +01:00
Hieu Hoang
42ddc084b4 delete references to LMList 2013-05-21 12:47:26 +01:00
Hieu Hoang
70873c3b8d delete references to LMList 2013-05-21 12:33:51 +01:00
Hieu Hoang
ff880ec6f1 delete references to LMList 2013-05-21 12:27:13 +01:00
Hieu Hoang
031cbdf7cd move parsing of input-factor and output-factor into class DecodeFeature. Fixed bug in parsing this in class GenerationDictionary, which only picked up the 1st number 2013-05-20 19:57:46 +01:00
Hieu Hoang
3e7f412ae9 make InitDictionary() an abstract method, at Uli's suggestion. Make sure people implements it 2013-05-20 17:01:19 +01:00
Rico Sennrich
5fa1752018 multimodel(counts): allow different features to have separate interpolation weights. 2013-05-16 14:11:03 +02:00
Rico Sennrich
876de13eba restore support for multimodel(counts) in moses server:
set sentence-level weights and optimize weights
2013-05-16 13:40:17 +02:00
Hieu Hoang
3876c47d1d port PhraseDictionaryMultiModelCounts to new format. Runs but doesn't pass regression test 2013-05-15 15:52:08 +01:00
Hieu Hoang
b2488f83c3 port PhraseDictionaryMultiModelCounts to new format. Runs but doesn't pass regression test 2013-05-15 14:34:31 +01:00
Hieu Hoang
81ffe84dbc port PhraseDictionaryMultiModelCounts to new format. Runs but doesn't pass regression test 2013-05-14 17:35:22 +01:00
Hieu Hoang
66ad7c3c18 port PhraseDictionaryMultiModelCounts to new format 2013-05-14 15:16:09 +01:00
Hieu Hoang
0c3fa9942b port PhraseDictionaryMultiModelCounts to new format 2013-05-14 13:11:55 +01:00
Hieu Hoang
34df0011a9 change PhraseDictionaryTreeAdaptor --> PhraseDictionaryBinary 2013-05-14 12:19:55 +01:00
Hieu Hoang
d5ebe61791 port PhraseDictionaryMultiModelCount to new format 2013-05-13 18:40:12 +01:00
Hieu Hoang
b8efef6667 port PhraseDictionaryMultiModelCount to new format 2013-05-13 18:39:06 +01:00
Hieu Hoang
dcafe74892 port PhraseDictionaryMultiModelCount to new format 2013-05-13 17:20:14 +01:00
Hieu Hoang
499487fb98 get rid of TargetPhrase::SetScore. Expose ScorerBreakdown object so they can be set directly 2013-05-13 15:36:09 +01:00
Hieu Hoang
a8cf5c3472 port PhraseDictionaryMultiModel to new format 2013-05-13 13:19:25 +01:00
Hieu Hoang
3a10197edb Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-05-13 10:37:08 +01:00
Hieu Hoang
981351758a delete class TranslationSystem 2013-05-11 14:13:26 +01:00