From 89b9246365ce983d292f845ccdd342318efd91ce Mon Sep 17 00:00:00 2001 From: "robin.perrotin" <robin.perrotin@lif.univ-mrs.fr> Date: Mon, 13 Nov 2017 05:08:42 +0100 Subject: [PATCH] . --- maca_trans_parser/src/simple_decoder_parser_arc_eager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/maca_trans_parser/src/simple_decoder_parser_arc_eager.c b/maca_trans_parser/src/simple_decoder_parser_arc_eager.c index 482638b..8671b38 100644 --- a/maca_trans_parser/src/simple_decoder_parser_arc_eager.c +++ b/maca_trans_parser/src/simple_decoder_parser_arc_eager.c @@ -214,6 +214,7 @@ void simple_decoder_parser_arc_eager(context *ctx) int b3 = respect_buffer_constraint(ctx->partial_mode, c, movement_parser_type(vcode_array[i].class_code), movement_parser_label(vcode_array[i].class_code)); if(b1 && b2 && b3){ if(vcode_array[i].score - ScoreTranslation >= 0){ + printf("%f %f %f",sumExp, currentSumExp,ScoreTranslation); printf(" [%f-",currentSumExp/sumExp); currentSumExp += exp(vcode_array[i].score - ScoreTranslation); printf("%f[", currentSumExp/sumExp); -- GitLab