From d8892b0748865c1fa311488b71899ea2f96d0d08 Mon Sep 17 00:00:00 2001
From: Alexis Nasr <alexis.nasr@lif.univ-mrs.fr>
Date: Thu, 5 Apr 2018 15:53:23 +0200
Subject: [PATCH] fixed a bug oracle_parser_arc_eager

---
 maca_trans_parser/src/oracle_parser_arc_eager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maca_trans_parser/src/oracle_parser_arc_eager.c b/maca_trans_parser/src/oracle_parser_arc_eager.c
index 5999cae..bb39f9d 100644
--- a/maca_trans_parser/src/oracle_parser_arc_eager.c
+++ b/maca_trans_parser/src/oracle_parser_arc_eager.c
@@ -65,7 +65,7 @@ int oracle_parser_arc_eager(config *c, word_buffer *ref, int root_label, int pun
     /* s0 is the root of the sentence */
     if((s0_label == root_label)
        //       && (word_get_label(word_buffer_get_word_n(config_get_buffer(c), s0_index)) != root_label)
-       && check_all_dependents_of_word_in_ref_are_in_hyp(c, ref, s0_index)
+       && check_all_dependents_of_word_in_ref_are_in_hyp(c, ref, s0_index, punct_label)
        ){
       return MVT_PARSER_ROOT;
     }
-- 
GitLab