mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Fix tests for json conversion
This commit is contained in:
parent
02729a2eb1
commit
64e2b00c4b
|
@ -1719,7 +1719,7 @@ cdef class Doc:
|
|||
data["underscore_token"][attr] = []
|
||||
data["underscore_token"][attr].append({"start": start, "value": value})
|
||||
# Else span attribute
|
||||
else:
|
||||
elif end is not None:
|
||||
_label = data_key[4]
|
||||
_kb_id = data_key[5]
|
||||
_span_id = data_key[6]
|
||||
|
|
Loading…
Reference in New Issue
Block a user