diff --git a/examples/training/conllu.py b/examples/training/conllu.py index 290049e24..45c55a1e8 100644 --- a/examples/training/conllu.py +++ b/examples/training/conllu.py @@ -250,7 +250,7 @@ def get_token_conllu(token, i): n = 1 while token.nbor(n)._.inside_fused: n += 1 - id_ = '%d-%d' % (k, k+n) + id_ = '%d-%d' % (i, i+n) lines = [id_, token.text, '_', '_', '_', '_', '_', '_', '_', '_'] else: lines = []