mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +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):
|
for i, gold_i in enumerate(self.cand_to_gold):
|
||||||
if doc[i].text.isspace():
|
if doc[i].text.isspace():
|
||||||
self.words[i] = doc[i].text
|
self.words[i] = doc[i].text
|
||||||
self.tags[i] = 'SP'
|
self.tags[i] = '_SP'
|
||||||
self.heads[i] = None
|
self.heads[i] = None
|
||||||
self.labels[i] = None
|
self.labels[i] = None
|
||||||
self.ner[i] = 'O'
|
self.ner[i] = 'O'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user