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 78e85ff82a18506321c9a78fb0edc45299002fa2..c1db96e75c89f2fb4168fe192e4f408351769faf 100644 --- a/maca_trans_parser/src/simple_decoder_parser_arc_eager.c +++ b/maca_trans_parser/src/simple_decoder_parser_arc_eager.c @@ -153,7 +153,7 @@ void simple_decoder_parser_arc_eager(context *ctx) double sumExp = -1.; double currentSumExp = 0.; - double ScoreTranslation = -150.; + double ScoreTranslation = -10.; word* word_scored; @@ -215,7 +215,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 %f %f",sumExp, currentSumExp,ScoreTranslation); printf(" [%f-",currentSumExp/sumExp); currentSumExp += exp(vcode_array[i].score - ScoreTranslation); printf("%f[", currentSumExp/sumExp);