Prohibit Break when sent_start < 0

This commit is contained in:
Matthew Honnibal 2017-10-09 00:02:45 +02:00
parent 5a67efeccc
commit 4cc84b0234
1 changed files with 2 additions and 0 deletions

View File

@ -250,6 +250,8 @@ cdef class Break:
return False return False
elif st.B_(0).l_edge < 0: elif st.B_(0).l_edge < 0:
return False return False
elif st._sent[st.B_(0).l_edge].sent_start < 0:
return False
else: else:
return True return True