Commit Graph

77 Commits

Author SHA1 Message Date
MosesAdmin
dfcdb43c28 daily automatic beautifier 2015-12-13 23:07:15 +00:00
Ulrich Germann
8b2f1ba529 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-12-13 22:31:58 +00:00
Ulrich Germann
bb6e0157aa Code cleanup and refactoring. 2015-12-13 22:31:43 +00:00
MosesAdmin
b0d8c397bb daily automatic beautifier 2015-12-12 18:04:13 +00:00
Ulrich Germann
65f4f1f92a Code cleanup and refactoring. 2015-12-11 13:52:48 +00:00
Ulrich Germann
29694af6e4 Code cleanup and refactoring. 2015-12-11 01:09:22 +00:00
Ulrich Germann
240b88c683 Passing around AllOptions or references thereto everywhere,
strong them locally where appropriate, so that compontents can
become independent of StaticData once instantiated.
2015-12-09 23:05:00 +00:00
MosesAdmin
59365f2bd3 daily automatic beautifier 2015-12-09 00:00:35 +00:00
Ulrich Germann
c4e45fb128 Code cleanup. 2015-12-07 16:07:11 +00:00
Ulrich Germann
d773ad428e More options cleanup. 2015-11-03 19:36:43 +00:00
MosesAdmin
f38976aba0 daily automatic beautifier 2015-11-02 00:00:37 +00:00
Ulrich Germann
324c378f7f Options refactoring. Moses crashed in server mode when asked to provide n-best translations with scores. 2015-10-31 12:50:52 +00:00
Hieu Hoang
97b2aa5663 WordsRange -> Range 2015-10-25 13:37:59 +00:00
Ulrich Germann
b8b3d2111a Merge branch 'master' of http://github.com/moses-smt/mosesdecoder into ranked-sampling 2015-10-18 21:45:27 +01:00
Hieu Hoang
b7d947ebf6 change dynamic to static cast 2015-10-18 12:41:36 +01:00
Ulrich Germann
7a85126a92 Merge branch 'master' of http://github.com/moses-smt/mosesdecoder into ranked-sampling 2015-10-17 16:37:41 +01:00
Ulrich Germann
cdcafd817b InputPath now has a weak pointer to the TranslationTask it belongs to. 2015-10-17 16:36:21 +01:00
Hieu Hoang
978b0bbced change InputFeature::Instance to return pointer, not ref. Strange segfault in OSX/clang 2015-10-16 13:01:32 +01:00
Hieu Hoang
cc8c6b7b10 beautify 2015-05-02 11:45:24 +01:00
Jeroen Vermeulen
eca5824100 Remove trailing whitespace in C++ files. 2015-04-30 12:05:11 +07:00
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
Hieu Hoang
32de075022 beautify 2015-02-19 12:27:23 +00:00
Ulrich Germann
be5799dca3 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
Conflicts:
	moses/TranslationOptionCollection.cpp
	moses/TranslationOptionCollectionLattice.cpp
	moses/TranslationOptionCollectionLattice.h
	moses/TranslationOptionList.h
2015-02-06 01:30:00 +00:00
Ulrich Germann
693ddb0cf5 Changed return type of CreateTranslationOptionsForRange(...); code reformatting. 2015-02-05 23:31:39 +00: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
f63606a92b 1. Renamed PhraseDictionary member function release() to Release().
2. Added option to check phrase prefixes for early stopping of
   InputPath generation when translating confusion networks.
2014-03-25 01:49:24 +00: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
819c006253 replace CHECK with UTIL_THROW_IF in Moses 2013-11-21 17:51:01 +00:00
Hieu Hoang
a77e928628 replace CHECK with UTIL_THROW_IF in Moses 2013-11-20 11:59:36 +00:00
Hieu Hoang
8b9d4d1c7d limit size of input path for confusion networks and lattices. Prevent memory blowup. /Yulia Tsvetkov 2013-10-07 16:44:26 +01:00
Hieu Hoang
f18e35c42a correct creation of input paths for lattices 2013-10-03 18:58:45 +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
6ccc17b804 speed up compiling by removing headers from StaticData.h 2013-10-03 11:05:53 +01:00
Hieu Hoang
f2d218f8ee move checking of legacy phrase-table to StaticData 2013-10-02 20:02:05 +01:00
Hieu Hoang
1b12b0c4a2 correct creation of input paths for lattices 2013-10-02 17:43:59 +01:00
Hieu Hoang
bb511af0ee minor rename of variables 2013-10-02 16:51:16 +01:00
Hieu Hoang
16cfc786a8 lattice decoding with sparse features 2013-09-08 19:22:55 +02:00
Hieu Hoang
1adf7d0521 lattice decoding with sparse features 2013-09-08 15:57:31 +02:00
Hieu Hoang
f544d3aced mark with LEGACY 2013-08-23 21:34:10 +01:00
Hieu Hoang
9f92642e59 beautify 2013-08-15 21:14:04 +01:00
Hieu Hoang
563cdc527a use input path for unknown word processing in phrase-based 2013-08-13 19:44:52 +01:00
Hieu Hoang
b044f31012 consistently set source phrase in translation options as soon as the trans opt is created 2013-08-08 17:10:56 +01:00
Hieu Hoang
441acf15e6 beautify 2013-08-07 14:18:12 +01:00
Hieu Hoang
24c4c8f210 mark a function as legacy 2013-08-07 12:11:39 +01:00
Hieu Hoang
a1f5167f85 get ready to delete source phrase from TargetPhrase class 2013-08-07 11:37:40 +01:00
Hieu Hoang
7a808a2edb push InpuutPath down into phrase dictionary for legacy methods 2013-08-06 17:09:53 +01:00