Skip to content
Snippets Groups Projects
Commit 7da0a82b authored by robin.perrotin's avatar robin.perrotin
Browse files

.

parent abc8defd
Branches
No related tags found
No related merge requests found
......@@ -194,8 +194,10 @@ 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(sumExp < 0.){
if(sumExp < -0.5){
printf(" %f %f %d ",scoreTranslation,vcode_array[i].score, i);
ScoreTranslation += vcode_array[i].score;
pritnf(" %f " ,scoreTranslation);
sumExp = 0.;
}
if(vcode_array[i].score - ScoreTranslation >= 0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment