Commit 4a73fa70 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

fixed bug in simple_decoder_forrest.c

parent 1085378c
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment