rename SP to _SP (#2289)

This commit is contained in:
Jens Dahl Møllerhøj 2018-05-03 19:33:49 +03:00 committed by Matthew Honnibal
parent c9547b7b8b
commit b9290397fb

View File

@ -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'