From 0a8a20d1669daa2f2e52c646b4e6c4ef11fa29ed Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 8 Mar 2011 23:55:22 -0500 Subject: make default max sizes bigger, for people who like REALLY BIG RULES --- decoder/rule_lexer.l | 6 +++--- 1 file 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 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; -- cgit v1.2.3