mirror of https://github.com/explosion/spaCy.git
Fix whitespace
This commit is contained in:
parent
f4ce7bb7e9
commit
ff36b14cb2
|
@ -167,7 +167,7 @@ cdef class Span:
|
||||||
array_head.append(SENT_START)
|
array_head.append(SENT_START)
|
||||||
array = self.doc.to_array(array_head)
|
array = self.doc.to_array(array_head)
|
||||||
doc.from_array(array_head, array[self.start : self.end])
|
doc.from_array(array_head, array[self.start : self.end])
|
||||||
|
|
||||||
doc.noun_chunks_iterator = self.doc.noun_chunks_iterator
|
doc.noun_chunks_iterator = self.doc.noun_chunks_iterator
|
||||||
doc.user_hooks = self.doc.user_hooks
|
doc.user_hooks = self.doc.user_hooks
|
||||||
doc.user_span_hooks = self.doc.user_span_hooks
|
doc.user_span_hooks = self.doc.user_span_hooks
|
||||||
|
|
Loading…
Reference in New Issue