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