diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-03-08 23:55:22 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-03-08 23:55:22 -0500 |
commit | 0a8a20d1669daa2f2e52c646b4e6c4ef11fa29ed (patch) | |
tree | eb1d62171c260e53e452c96a0851f6922a20a757 /decoder | |
parent | ec80850ca4325b6e980f282f636310deeca72960 (diff) |
make default max sizes bigger, for people who like REALLY BIG RULES
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/rule_lexer.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/decoder/rule_lexer.l b/decoder/rule_lexer.l index 383dd336..9331d8ed 100644 --- a/decoder/rule_lexer.l +++ b/decoder/rule_lexer.l @@ -29,7 +29,7 @@ bool fl = true; #define MAX_TOKEN_SIZE 255 std::string scfglex_tmp_token(MAX_TOKEN_SIZE, '\0'); -#define MAX_RULE_SIZE 48 +#define MAX_RULE_SIZE 200 WordID scfglex_src_rhs[MAX_RULE_SIZE]; WordID scfglex_trg_rhs[MAX_RULE_SIZE]; int scfglex_src_rhs_size; @@ -43,7 +43,7 @@ int scfglex_feat_ids[MAX_FEATS]; double scfglex_feat_vals[MAX_FEATS]; int scfglex_num_feats; -#define MAX_ARITY 20 +#define MAX_ARITY 200 int scfglex_nt_sanity[MAX_ARITY]; int scfglex_src_nts[MAX_ARITY]; // float scfglex_nt_size_means[MAX_ARITY]; @@ -51,7 +51,7 @@ int scfglex_src_nts[MAX_ARITY]; std::stack<TRulePtr> ctf_rule_stack; unsigned int ctf_level = 0; -#define MAX_ALS 50 +#define MAX_ALS 200 AlignmentPoint scfglex_als[MAX_ALS]; int scfglex_num_als; |