mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
rename SP to _SP (#2289)
This commit is contained in:
parent
c9547b7b8b
commit
b9290397fb
|
@ -447,7 +447,7 @@ cdef class GoldParse:
|
|||
for i, gold_i in enumerate(self.cand_to_gold):
|
||||
if doc[i].text.isspace():
|
||||
self.words[i] = doc[i].text
|
||||
self.tags[i] = 'SP'
|
||||
self.tags[i] = '_SP'
|
||||
self.heads[i] = None
|
||||
self.labels[i] = None
|
||||
self.ner[i] = 'O'
|
||||
|
|
Loading…
Reference in New Issue
Block a user