docs: def parse_frog(lines):
      """
      Interpret the output of the frog parser.
      Input should be an iterable of lines (i.e. the output of call_frog)
      Result is a sequence of dicts representing the tokens
      """
      sid = 0
      for i, line in enumerate(lines):
          if not line:
              # end of sentence marker
              sid += 1
          else:
              parts = line.split("\t")
              tid, token, lemma, morph, pos, conf, ne, _, parent, rel = parts
              if rel:
                  rel = (rel, int(parent) - 1)
              word = u' '.join(token.split(u'_'))
              result = dict(id=i, sentence=sid, word=word, lemma=lemma, pos=pos,
                            pos_confidence=float(conf), rel=rel)
              if ne != 'O':
                  # NER label from BIO tags
                  result["ne"] = ne.split('_', 1)[0][2:]
              yield result