Skip to content
Snippets Groups Projects
Commit 07d37a0d authored by Franck Dary's avatar Franck Dary
Browse files

Corrected a bug where EOS did not pop the stack

parent 631434c5
No related branches found
No related tags found
No related merge requests found
...@@ -153,6 +153,8 @@ int movement_eos(config *c, int classifier_id) ...@@ -153,6 +153,8 @@ int movement_eos(config *c, int classifier_id)
/* set word on the top of the stack to eos */ /* set word on the top of the stack to eos */
word_set_sent_seg(s0, 1); word_set_sent_seg(s0, 1);
config_push_mvt(c, classifier_id, MVT_EOS, -1, s0, NULL); config_push_mvt(c, classifier_id, MVT_EOS, -1, s0, NULL);
stack_pop(config_get_stack(c));
return 1; return 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment