  from .transition_system cimport do_func_t, get_cost_func_t
  from .transition_system cimport move_cost_func_t, label_cost_func_t
  from ..gold cimport GoldParse
  from ..gold cimport GoldParseC
  from ..attrs cimport TAG, HEAD, DEP, ENT_IOB, ENT_TYPE, IS_SPACE
  from ..lexeme cimport Lexeme
  
  from libc.stdint cimport uint32_t
  from libc.string cimport memcpy
  
 
</s> remove     doc.from_array([HEAD], numpy.asarray([[1, 0, -1, -2, -1, -1, -5,
                                           4, 3, 2, 1, 0, 2, 1, -3, 1, 1, -3, -7]],
                                 dtype='int32').T)
 </s> add  </s> remove @pytest.mark.xfail
 </s> add  </s> remove         while self.buffer_length() == 0 or self.stack_depth() == 0:
 </s> add         while self.buffer_length() == 0 \
        or self.stack_depth() == 0 \
        or Lexeme.c_check_flag(self.S_(0).lex, IS_SPACE):
from ..attrs cimport TAG, HEAD, DEP, ENT_IOB, ENT_TYPE
  from .transition_system cimport do_func_t, get_cost_func_t
  from .transition_system cimport move_cost_func_t, label_cost_func_t
  from ..gold cimport GoldParse
  from ..gold cimport GoldParseC
from ..attrs cimport TAG, HEAD, DEP, ENT_IOB, ENT_TYPE
  from ..lexeme cimport Lexeme
  
  from libc.stdint cimport uint32_t
  from libc.string cimport memcpy
  
keep keep keep keep replace keep keep keep keep keep
 * Unwind limit to sentence boundary detection that prevents it from inserting boundaries on whitespace. Replace it with a check for whitespace in StateClass.fast_forward, so that whitespace is LeftArced when it's on the stack. This should prevent the previous problem of whitespace-only sentences. Should fix Issue #184, but may cause further problems. Needs testing. 
spacy/syntax/arc_eager.pyx