From 4a73fa7029ac2013cb6a510880944c4d2455b60a Mon Sep 17 00:00:00 2001 From: Alexis Nasr <alexis.nasr@lif.univ-mrs.fr> Date: Sun, 7 Aug 2016 14:31:34 -0400 Subject: [PATCH] fixed bug in simple_decoder_forrest.c --- maca_trans_parser/src/simple_decoder_forrest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maca_trans_parser/src/simple_decoder_forrest.c b/maca_trans_parser/src/simple_decoder_forrest.c index 99624e0..f31d662 100644 --- a/maca_trans_parser/src/simple_decoder_forrest.c +++ b/maca_trans_parser/src/simple_decoder_forrest.c @@ -23,8 +23,8 @@ void simple_decoder_buffer_forrest(context *ctx, FILE *f, feature_table *ft, int /* read a sentence and put it in the buffer */ while(queue_read_sentence(c->bf, f, ctx->mcd_struct)){ while(!config_is_terminal(c)){ - config2feat_vec_cff(ctx->features_model, c, ctx->d_perceptron_features, fv, LOOKUP_MODE); - + /* config2feat_vec_cff(ctx->features_model, c, ctx->d_perceptron_features, fv, LOOKUP_MODE); */ + config2feat_vec_fann(ctx->features_model, c, fv, LOOKUP_MODE); /* FORREST : this is where the DNN should be called */ /* fv is the feature vector that contains the values of the features extracted from configuration c */ -- GitLab