From f75f5e8cfc3488fa8608f39489e05fafb57a260d Mon Sep 17 00:00:00 2001 From: Alexis Nasr <alexis.nasr@lif.univ-mrs.fr> Date: Fri, 15 Jul 2016 10:33:15 -0400 Subject: [PATCH] changed queue length in maca_trans_tagger and maca_trans_parser (should be dynamic git status) --- maca_trans_parser/src/simple_decoder.c | 2 +- maca_trans_parser/src/simple_decoder_tagger.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maca_trans_parser/src/simple_decoder.c b/maca_trans_parser/src/simple_decoder.c index c585a7f..6225f31 100644 --- a/maca_trans_parser/src/simple_decoder.c +++ b/maca_trans_parser/src/simple_decoder.c @@ -18,7 +18,7 @@ void simple_decoder_buffer(context *ctx, FILE *f, feature_table *ft, int root_la int mvt_label; float max; feat_vec *fv = feat_vec_new(feature_types_nb); - config *c = config_initial(f, ctx->mcd_struct, 1000, 0); + config *c = config_initial(f, ctx->mcd_struct, 10000, 0); /* read a sentence and put it in the buffer */ while(queue_read_sentence(c->bf, f, ctx->mcd_struct)){ diff --git a/maca_trans_parser/src/simple_decoder_tagger.c b/maca_trans_parser/src/simple_decoder_tagger.c index 6066fc3..4065b96 100644 --- a/maca_trans_parser/src/simple_decoder_tagger.c +++ b/maca_trans_parser/src/simple_decoder_tagger.c @@ -31,7 +31,7 @@ void simple_decoder_buffer(context *ctx) int i; word *w = NULL; FILE *f = (ctx->input_filename)? myfopen(ctx->input_filename, "r") : stdin; - config *c = config_initial(f, ctx->mcd_struct, 1000, 0); + config *c = config_initial(f, ctx->mcd_struct, 10000, 0); /* read a sentence and put it in the buffer */ while(queue_read_sentence(c->bf, f, ctx->mcd_struct)){ -- GitLab