mirror of https://github.com/explosion/spaCy.git
Fix undefined variable in conllu script
This commit is contained in:
parent
14f729c72a
commit
7441fce7ba
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue