diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-10-09 14:31:48 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-10-09 14:31:48 -0400 |
commit | d8d6f0a4900a40d1a1db9cd651b6dc8ecc45e596 (patch) | |
tree | d74073a89fa8b4c796ed9ce23b92b4eba8331f20 /decoder/ff_basic.h | |
parent | b88176dc4fd53480e77d601ff63bf5300cf8fc7f (diff) |
support bigger rules in arity feature
Diffstat (limited to 'decoder/ff_basic.h')
-rw-r--r-- | decoder/ff_basic.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/decoder/ff_basic.h b/decoder/ff_basic.h index e708e8cd..c63daf0f 100644 --- a/decoder/ff_basic.h +++ b/decoder/ff_basic.h @@ -41,7 +41,7 @@ class SourceWordPenalty : public FeatureFunction { const double value_; }; -#define DEFAULT_MAX_ARITY 9 +#define DEFAULT_MAX_ARITY 50 #define DEFAULT_MAX_ARITY_STRINGIZE(x) #x #define DEFAULT_MAX_ARITY_STRINGIZE_EVAL(x) DEFAULT_MAX_ARITY_STRINGIZE(x) #define DEFAULT_MAX_ARITY_STR DEFAULT_MAX_ARITY_STRINGIZE_EVAL(DEFAULT_MAX_ARITY) @@ -62,7 +62,6 @@ class ArityPenalty : public FeatureFunction { void* context) const; private: std::vector<WordID> fids_; - const double value_; }; #endif |