mirror of https://github.com/explosion/spaCy.git
* Whitespace in docstring
This commit is contained in:
parent
abc43b852d
commit
b24e8be2b9
|
@ -181,8 +181,8 @@ cdef class Tokens:
|
|||
|
||||
@property
|
||||
def sents(self):
|
||||
"""Yield a list of sentence Span objects, calculated from the dependency
|
||||
parse.
|
||||
"""
|
||||
Yield a list of sentence Span objects, calculated from the dependency parse.
|
||||
"""
|
||||
cdef int i
|
||||
cdef Tokens sent = Tokens(self.vocab, self._string[self.data[0].idx:])
|
||||
|
|
Loading…
Reference in New Issue