Commit Graph

32 Commits

Author SHA1 Message Date
Ulrich Germann
fcbfc5a535 Feature functions and the constructors of TranslationOptionCollections
now have access to the current translation task.

This was done to allow context-sensitive processing (if provided by the FF).
2015-03-30 01:20:17 +01:00
Ulrich Germann
ee4e396a4d Removed pointer to TranslationTask in InputTypes again. Not the right place to store this information. 2015-03-21 15:29:37 +00:00
Ulrich Germann
ad805c133b Instances of InputType (and derived classes) now know which TranslationTask (if any) created them.
This is a first step towards providing phrase tables etc. access to context information etc.
associated with specific translation tasks.
2015-03-15 20:38:31 +00:00
Nicola Bertoldi
e4eb201c52 merged master into dynamic-models and solved conflicts 2014-12-13 12:52:47 +01:00
Ulrich Germann
ad9748b6ac Commented out unused variable. 2014-06-12 18:32:23 +01:00
Nicola Bertoldi
2f3cd5e2fe beautify 2014-05-19 15:34:27 +02:00
Nicola Bertoldi
fe1ed42f81 Merge branch 'master' into dynamic-models 2014-04-30 08:32:46 +02:00
Ulrich Germann
ad678ac0ec Replaced calls to String2Word by calls to Word::CreateFromString(). String2Word is deprecated (code duplication) and should be removed. Some reformatting for readability. 2014-04-08 12:44:21 +01:00
Nicola Bertoldi
bd83999264 beautify 2014-01-15 16:42:02 +01:00
Hieu Hoang
ba209202ef move all feature functions out of StaticData 2013-12-07 00:21:06 +00:00
Hieu Hoang
f13d0c8244 UTIL_THROW_IF -> UTIL_THROW_IF2 2013-11-22 20:27:46 +00:00
Hieu Hoang
0a8390981e delete includes for util/check.hh 2013-11-21 18:58:28 +00:00
Hieu Hoang
c2ffc022ea replace CHECK with UTIL_THROW_IF in Moses 2013-11-19 18:52:15 +00:00
Hieu Hoang
a0b6c381e0 correct creation of input paths for lattices 2013-10-04 13:08:14 +01:00
Hieu Hoang
f18e35c42a correct creation of input paths for lattices 2013-10-03 18:58:45 +01:00
Hieu Hoang
a41dbeba46 correct creation of input paths for lattices 2013-10-03 17:29:07 +01:00
Hieu Hoang
73513c182d correct creation of input paths for lattices 2013-10-03 16:58:47 +01:00
Hieu Hoang
8ccc99a947 correct creation of input paths for lattices 2013-10-03 12:03:09 +01:00
Hieu Hoang
6759af3821 beautify 2013-10-03 11:33:48 +01:00
Hieu Hoang
f2d218f8ee move checking of legacy phrase-table to StaticData 2013-10-02 20:02:05 +01:00
Hieu Hoang
6e32bd3e19 correct creation of input paths for lattices 2013-10-02 18:42:56 +01:00
Hieu Hoang
1b12b0c4a2 correct creation of input paths for lattices 2013-10-02 17:43:59 +01:00
Hieu Hoang
31ce9b510e beautify 2013-09-27 09:35:24 +01:00
Hieu Hoang
0237c8e3fe check to make sure there is an InputFeature when decoding lattice or confusion network 2013-09-23 22:20:58 +01:00
Hieu Hoang
16cfc786a8 lattice decoding with sparse features 2013-09-08 19:22:55 +02:00
Hieu Hoang
12c4a0a68e lattice decoding with sparse features 2013-09-05 23:34:22 +02: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
537e9373f8 minor warnings 2013-05-28 11:57:13 +01:00
Hieu Hoang
da9cd0e3aa clean up weights code for confusion networks & lattices. Works, except for multiple phrase-tables or factors 2012-12-05 20:21:33 +00:00
Hieu Hoang
5e3ef23cef move moses/src/* to moses/ 2012-11-12 19:56:18 +00:00