diff --git a/spacy/tokens/span.pyx b/spacy/tokens/span.pyx index 3b31c50c0..05dcce1ba 100644 --- a/spacy/tokens/span.pyx +++ b/spacy/tokens/span.pyx @@ -129,6 +129,7 @@ cdef class Span: def _(self): return Underscore(Underscore.span_extensions, self, start=self.start_char, end=self.end_char) + def as_doc(self): '''Create a Doc object view of the Span's data.