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 71bc4c2d319fde709681d6e10d605f4824cbc453..482638b05acd8443452239cb10769af313dd4a1a 100644 --- a/maca_trans_parser/src/simple_decoder_parser_arc_eager.c +++ b/maca_trans_parser/src/simple_decoder_parser_arc_eager.c @@ -214,9 +214,9 @@ 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-",currentSumExp/sumExp)); + printf(" [%f-",currentSumExp/sumExp); currentSumExp += exp(vcode_array[i].score - ScoreTranslation); - printf("%f[", currentSumExp/sumExp)); + printf("%f[", currentSumExp/sumExp); } printf("\t<----"); }else