Fixes Issue where `noun_chunks` of `Span` gives an error.
Make sure to reference `self.doc` when getting the noun chunks.
Same fix as
@@ -370,7 +370,7 @@ cdef class Span:
spans = []
cdef attr_t label
for start, end, label in self.doc.noun_chunks_iterator(self):
- spans.append(Span(self, start, end, label=label))
+ spans.append(Span(self.doc, start, end, label=label))
for span in spans:
yield span
