mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-28 21:03:41 +03:00
* Whitespace in docstring
This commit is contained in:
parent
abc43b852d
commit
b24e8be2b9
|
@ -181,8 +181,8 @@ cdef class Tokens:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def sents(self):
|
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 int i
|
||||||
cdef Tokens sent = Tokens(self.vocab, self._string[self.data[0].idx:])
|
cdef Tokens sent = Tokens(self.vocab, self._string[self.data[0].idx:])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user