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

.

parent a4516ec0
Branches
No related tags found
No related merge requests found
......@@ -151,10 +151,10 @@ void simple_decoder_parser_arc_eager(context *ctx)
int index;
float score;
double sumExp = 0;
double currentSumExp = 0;
double ScoreTranslation = -10;
int FlagNotInitExp = 1;
double sumExp;
double currentSumExp;
double ScoreTranslation;
int FlagNotInitExp;
word* word_scored;
......@@ -164,6 +164,11 @@ void simple_decoder_parser_arc_eager(context *ctx)
c = config_new(f, ctx->mcd_struct, 5);
while(!config_is_terminal(c)){
sumExp = 0;
currentSumExp = 0;
ScoreTranslation = -10;
FlagNotInitExp = 1;
if(ctx->debug_mode){
fprintf(stdout, "***********************************\n");
config_print(stdout, c);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment