diff --git a/maca_trans_parser/src/oracle_parser_arc_eager.c b/maca_trans_parser/src/oracle_parser_arc_eager.c index 5999cae9070917a3e4e99b9ab8e6c401167139d7..bb39f9d7eb289a6f2bc49a2bf427e77fd721921d 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; }