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

fixed minor details

parent 34d83560
No related branches found
No related tags found
No related merge requests found
......@@ -62,12 +62,9 @@ int main(int argc, char *argv[])
return 1;
}
ctx->mvt_nb = ctx->dico_labels->nbelem * 2 + 1;
root_label = dico_string2int(ctx->dico_labels, (char *)"root");
if(root_label == -1) root_label = 0;
/* when in stream mode, force to renumber the tokens (ugly !) */
......
......@@ -114,7 +114,7 @@ int movement_shift(config *c, int stream, float score)
stack_push(c->st, queue_remove(c->bf));
config_add_mvt(c, 0);
config_add_mvt(c, MVT_SHIFT);
if(stream)
config_add_next_word_to_buffer(c);
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment