Hieu Hoang
d24485e4a3
move AddFeatureFunction() to FeatureFunction subclasses
2012-12-30 19:42:53 +00:00
Hieu Hoang
e42ad943cc
move AddFeatureFunction() nearer to object creation
2012-12-30 16:48:22 +00:00
Hieu Hoang
37c0ffc83e
move AddFeatureFunction() nearer to object creation
2012-12-30 15:53:24 +00:00
Hieu Hoang
11ef6851b1
delete forward declarations of some feature functions
2012-12-28 17:27:34 +00:00
Hieu Hoang
0ecc092b77
assert(false) in mira. Did not implement StaticData.GetBleuScoreFeature()
2012-12-28 16:50:59 +00:00
Hieu Hoang
e786d85347
delete class variable m_bleuScoreFeature. TODO Error in mira code
2012-12-28 15:45:36 +00:00
Hieu Hoang
7a96b7cfda
delete class variable m_phraseBoundaryFeature
2012-12-28 14:26:30 +00:00
Hieu Hoang
e229b0528d
delete class variable m_targetNgramFeatures
2012-12-28 13:44:02 +00:00
Hieu Hoang
11ed381ab0
delete class variable m_targetBigramFeature
2012-12-28 12:58:47 +00:00
Hieu Hoang
1052b39f0f
move all InitializeForInput() and CleanUpAfterSentenceProcessing() into ChartParser. For consistency
2012-12-27 20:12:35 +00:00
Hieu Hoang
f9c0d9a442
InitializeForInput() being called twice
2012-12-27 19:49:44 +00:00
Hieu Hoang
b693228a7b
delete class variable m_wordTranslationFeatures
2012-12-27 19:30:57 +00:00
Hieu Hoang
136161091b
delete class variable m_phrasePairFeatures
2012-12-27 18:42:07 +00:00
Hieu Hoang
c00246bd21
delete class variable m_phraseLengthFeature and m_targetWordInsertionFeature
2012-12-27 17:19:06 +00:00
Hieu Hoang
07f242ef81
delete class variable m_sourceWordDeletionFeature.
2012-12-27 16:00:02 +00:00
Hieu Hoang
d3e5903ae6
minor cleanup
2012-12-27 15:28:53 +00:00
Hieu Hoang
4e6139d7e6
delete translation-systems arg
2012-12-27 13:42:45 +00:00
Hieu Hoang
748c0379d2
simplify CleanUpAfterSentenceProcessing()
2012-12-27 13:10:44 +00:00
Hieu Hoang
e914503982
simplify InitializeForInput()
2012-12-27 12:41:10 +00:00
Hieu Hoang
8a8825d740
delete PhraseDictionary::InitDictionary()
2012-12-27 12:26:27 +00:00
Hieu Hoang
4b55c0744d
simplify ~StaticData()
2012-12-27 11:41:52 +00:00
Hieu Hoang
b9c76342e9
Merge branch 'master' into weight-new
2012-12-24 23:28:48 +00:00
Hieu Hoang
1798957647
change m_producers to non-const
2012-12-24 21:51:11 +00:00
Hieu Hoang
bf58eac8bc
clean up InitializeBeforeSentenceProcessing()
2012-12-24 18:52:04 +00:00
Hieu Hoang
27df7efd6a
clean up InitializeBeforeSentenceProcessing()
2012-12-24 17:42:08 +00:00
Hieu Hoang
0df397065d
clean up InitializeBeforeSentenceProcessing()
2012-12-24 16:52:40 +00:00
Hieu Hoang
6dd4259258
clean up CleanUpAfterSentenceProcessing()
2012-12-24 15:56:29 +00:00
Hieu Hoang
50f666f397
clean up CleanUpAfterSentenceProcessing()
2012-12-24 15:37:11 +00:00
Hieu Hoang
c3fe79564c
clean up CleanUpAfterSentenceProcessing()
2012-12-24 15:17:13 +00:00
Hieu Hoang
961cc53ae5
clean up CleanUpAfterSentenceProcessing()
2012-12-24 14:34:34 +00:00
Hieu Hoang
485db07068
clean up CleanUpAfterSentenceProcessing()
2012-12-24 12:35:29 +00:00
Hieu Hoang
5b88c4e733
completely gutted TranslationSystem
2012-12-21 16:49:32 +00:00
Hieu Hoang
6cef6cff98
move initialization and cleanup functions to staticData
2012-12-21 16:18:00 +00:00
Hieu Hoang
17898a9df3
move initialization and cleanup functions to staticData
2012-12-21 15:59:52 +00:00
Barry Haddow
861792bfc5
extract can read an instance weights file.
...
Still have to parallelise.
2012-12-21 15:39:25 +00:00
Hieu Hoang
ea647fc658
move decodeGraph to staticData
2012-12-21 15:28:34 +00:00
Hieu Hoang
8799e721ac
move phrase tables and generation tables to staticData
2012-12-21 14:54:43 +00:00
Hieu Hoang
b48a906785
delete ability to specify multiple translation systems
2012-12-21 13:34:07 +00:00
Barry Haddow
8fe900d312
Testing of phrase length feature
2012-12-21 12:35:11 +00:00
Hieu Hoang
4f0d3c2032
Merge branch 'master' into weight-new
2012-12-20 20:27:50 +00:00
Tetsuo Kiso
ce1b650b53
Fix memory leak.
...
The object was allocated with new, but it was not deleted.
This may not be a serious problem because the program mostly runs
a short time. However, it is not a good practice.
2012-12-21 03:06:41 +09:00
Hieu Hoang
efbc8bb6c4
move language model from TranslationSystem back to StaticData
2012-12-20 16:38:15 +00:00
Hieu Hoang
874be94d72
move reordering model from TranslationSystem back to StaticData
2012-12-20 15:13:04 +00:00
Hieu Hoang
241542be08
move GlobalLexicalModel to staticData
2012-12-19 18:46:27 +00:00
Hieu Hoang
781592fa46
move DistortionScoreProducer from TranslationSystem back to StaticData
2012-12-19 16:51:55 +00:00
Hieu Hoang
0f473ca960
move UnknownWordPenaltyProducer from TranslationSystem back to StaticData
2012-12-19 16:22:10 +00:00
Hieu Hoang
5d9980af91
move WordPenalty to staticData
2012-12-19 15:38:57 +00:00
Hieu Hoang
c2d9d84ba0
move feature function variables from TranslationSystem back to StaticData
2012-12-19 14:37:00 +00:00
Hieu Hoang
d0f59264a0
eclipse parallel build
2012-12-19 10:32:24 +00:00
Hieu Hoang
bc615bdac8
Merge branch 'master' into weight-new
2012-12-18 12:46:00 +00:00