      sent_text = sent_text.strip()
      assert sent_text
      annot = []
      words = []
      i = 0
      for line in sent_text.split('\n'):
          word, tag, head, dep = line.split()
          if strip_bad_periods and words and _is_bad_period(words[-1], word):
              continue
    
          annot.append({
 
</s> remove             'id': i,
 </s> add             'id': len(words), </s> remove         i += 1
 </s> add     for entry in annot:
        entry['head'] = id_map.get(entry['head'], entry['head']) </s> remove             'head': int(head) - 1 if int(head) != 0 else i,
 </s> add             'head': int(head) - 1,
    id_map = {}
    for i, line in enumerate(sent_text.split('\n')):
      sent_text = sent_text.strip()
      assert sent_text
      annot = []
      words = []
    id_map = {}
    for i, line in enumerate(sent_text.split('\n')):
    id_map = {}
    for i, line in enumerate(sent_text.split('\n')):
          word, tag, head, dep = line.split()
          if strip_bad_periods and words and _is_bad_period(words[-1], word):
              continue
    
          annot.append({
keep keep keep keep replace replace keep keep keep keep keep
 * Fix head misalignment in read_conll, when periods are ignored 
spacy/munge/read_conll.py