Skip to content
Snippets Groups Projects
Commit f9cbf5d0 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

bug fixing in maca_lemmatizer (memory problem not solved yet)

parent cee7f975
No related branches found
No related tags found
No related merge requests found
......@@ -234,12 +234,12 @@ int main(int argc, char *argv[])
if(form)free(form);
if(feats)free(feats);
}
free(buffer_copy);
/* free(buffer_copy); */
free(lemma_array);
hash_free(form_pos_ht);
if(ctx->conll_filename)
fclose(f);
/* if(ctx->conll_filename)
fclose(f);*/
return 0;
}
......
......@@ -16,6 +16,7 @@ int movement_eos(config *c, int movement_code)
word_set_sent_seg(s0, 1);
config_push_mvt(c, movement_code, s0, NULL);
return 1;
}
......
......@@ -210,6 +210,8 @@ void simple_decoder_parser_arc_eager(context *ctx)
break;
case MVT_PARSER_ROOT:
result = movement_parser_root(c, root_label);
/* while(!stack_is_empty(config_get_stack(c)))
movement_parser_root(c, root_label);*/
break;
case MVT_PARSER_EOS:
result = movement_parser_eos(c);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment