Skip to content
Snippets Groups Projects
Commit 4a73fa70 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

fixed bug in simple_decoder_forrest.c

parent 1085378c
No related branches found
No related tags found
No related merge requests found
...@@ -23,8 +23,8 @@ void simple_decoder_buffer_forrest(context *ctx, FILE *f, feature_table *ft, int ...@@ -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 */ /* read a sentence and put it in the buffer */
while(queue_read_sentence(c->bf, f, ctx->mcd_struct)){ while(queue_read_sentence(c->bf, f, ctx->mcd_struct)){
while(!config_is_terminal(c)){ 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 */ /* 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 */ /* fv is the feature vector that contains the values of the features extracted from configuration c */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment