* Don't set dependency labels in set_parse, as this may be used by the Entity recogniser instead. Need to clean this method up...

This commit is contained in:
Matthew Honnibal 2015-03-24 04:30:04 +01:00
parent 71648205d9
commit e770fade1e
1 changed files with 0 additions and 2 deletions

View File

@ -249,8 +249,6 @@ cdef class Tokens:
self.is_parsed = True
for i in range(self.length):
self.data[i] = parsed[i]
if self.data[i].dep == 0:
self.data[i].dep = self.vocab.strings['ROOT']
cdef class Span: