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
e4f5c69109
One step closer to eliminating the requirement to provide num-features=... in the config file.
...
Some FF (Mmsapt, LexicalReordering, Many single-value FF) provide this number during "registration";
when missing, a default weight vector of uniform 1.0 is automatically generated. This eliminates the
need for the user to figure out what the exact number of features is for each FF, which can get complicated,
e.g. in the case of Mmsapt/PhraseDictionaryBitextSampling.
2015-04-29 20:16:52 +01:00
Ulrich Germann
fbf8b1f8b8
Code design debizarrification: Indexes of feature functions into the dense vector of all feature
...
values are now stored on the feature function instead of in a global map that is a static
member of ScoreComponentCollection.
2015-04-26 16:46:36 +01:00
Ulrich Germann
e827896027
Harmonized spelling of CleanUpAfterSentenceProcessing(...).
2015-03-26 23:37:29 +00:00
Ulrich Germann
9dc75bfd8a
Managers and feature functions now have access to the entire TranslationTask, not just the InputType.
2015-03-26 18:25:54 +00:00
Ulrich Germann
ddf7bc3e23
1. Added FeatureFunction::Setup(TranslationTask const&) const to allow FFs to set themselves up for specific input.
...
2. FeatureFunction::ChangeSource should not be allow to change the pointer to the source.
2015-03-21 17:09:41 +00:00
Hieu Hoang
32de075022
beautify
2015-02-19 12:27:23 +00:00
Matthias Huck
6028c7cf9c
tuneable-components config parameter for feature functions
2015-02-16 18:39:25 +00:00
Hieu Hoang
45ff417244
beautify
2015-01-22 22:41:56 +00:00
Hieu Hoang
ad6f3a8026
option to sort translation options after EvaluateAfterSourceContext
2015-01-22 12:25:02 +01:00
Hieu Hoang
05ead45e71
beautify
2015-01-14 11:07:42 +00:00
Nicola Bertoldi
4e77665d30
better handling of cache-based models with inconsistent parameters
2014-12-15 17:42:41 +01:00
Hieu Hoang
10d41d025e
move collection of DistortionScoreProducer to it own class
2014-12-13 23:19:09 +00:00
Nicola Bertoldi
e4eb201c52
merged master into dynamic-models and solved conflicts
2014-12-13 12:52:47 +01:00
Hieu Hoang
31375afa62
Merge pull request #86 from marxin/distortion-scorer-no-dyncast
...
DistortionFunctionScorer dyn_cast removed in FF.
2014-12-12 12:38:26 +00:00
Matthias Huck
824bd174f1
FeatureFunction: default verbosity parameter value is "unset" ( == std::numeric_limits<std::size_t>::max() ).
...
Global verbosity level applies in this case (cf. declaration of macro IFFEATUREVERBOSE in moses/Util.h)
2014-12-04 19:21:36 +00:00
Matthias Huck
24a8a6a511
PhraseOrientationFeature
2014-12-03 20:04:26 +00:00
mliska
0a264bf5e3
DistortionFunctionScorer dyn_cast removed in FF.
2014-11-29 17:02:10 +01:00
Hieu Hoang
fbbc756117
add virtual void ChangeSource(InputType *&input) const
...
to FeatureFunction
2014-08-01 22:41:24 +01:00
Nicola Bertoldi
bd83999264
beautify
2014-01-15 16:42:02 +01:00
Hieu Hoang
18aaf4750a
destroy feature functions at end. Otherwise it shows up on valgrind as memory leak
2013-12-31 20:15:43 +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
79fb8a1df4
provide mira program with BLEU Feature. Delete assert statement.
2013-11-15 16:43:39 +00:00
Hieu Hoang
a5f391e3f3
remove description argument from feature function constructor. Redundant
2013-10-29 18:59:53 +00:00
Hieu Hoang
d21e99e444
remove description argument from feature function constructor. Redundant
2013-10-29 17:46:03 +00:00
Hieu Hoang
31ce9b510e
beautify
2013-09-27 09:35:24 +01:00
Ulrich Germann
050b089ea0
Merge branch 'master' of github.com:moses-smt/mosesdecoder
...
Conflicts:
moses/FF/ControlRecombination.cpp
moses/TranslationModel/SkeletonPT.cpp
2013-09-25 22:33:27 +01:00
Hieu Hoang
deafd5922d
skeleton PT
2013-09-25 16:57:01 +01:00
=
e6fdcda02d
Reformatting. Max 80 chars per line, pretty please.
2013-09-25 00:15:43 +01:00
Hieu Hoang
302eec8283
beautify
2013-08-05 12:11:59 +01:00
Rico Sennrich
29cde2a204
allow overriding table filtering in config (required for multimodelcounts)
2013-07-30 16:46:23 +02:00
Hieu Hoang
8a28178339
add default weights for feature functions that aren't tuneable, eg. OOV feature
2013-07-19 11:35:50 +01:00
Hieu Hoang
f81d7a446f
starting placeholder
2013-07-18 17:00:07 +01:00
Hieu Hoang
415c5ab693
tokenize only first occurence of = char for key=value. Allow paths with = chars
2013-07-18 14:01:08 +01:00
Hieu Hoang
efc2c6145e
beautify
2013-06-26 17:19:09 +01:00
Hieu Hoang
d68277d369
redo parsing of feature function parameters
2013-06-20 13:25:02 +01:00
Hieu Hoang
8103de2973
redo parsing of feature function parameters
2013-06-20 13:09:47 +01:00
Hieu Hoang
24d2edd790
redo parsing of feature function parameters
2013-06-20 13:06:03 +01:00
Hieu Hoang
dc33fa3d3d
redo parsing of feature function parameters
2013-06-20 12:50:41 +01:00
Hieu Hoang
e3f9a5be9b
redo parsing of feature function parameters
2013-06-20 10:35:25 +01:00
Hieu Hoang
2615a93224
default number of dense features = 1
2013-06-14 11:02:22 +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
b4ad093334
refactor parsing of feature functiona args
2013-06-11 00:05:12 +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