Commit 4d2a9550 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

fixed minor details

parent 34d83560
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment