mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 01:34:30 +03:00
* Fix mention of Tokens in docstring
This commit is contained in:
parent
783867c1ad
commit
e3c53f5ecd
|
@ -17,8 +17,6 @@ from .pos import POS_TAGS
|
||||||
from .attrs import get_flags
|
from .attrs import get_flags
|
||||||
from . import regexes
|
from . import regexes
|
||||||
|
|
||||||
from ..exceptions import ModelNotLoaded
|
|
||||||
|
|
||||||
from ..util import read_lang_data
|
from ..util import read_lang_data
|
||||||
|
|
||||||
|
|
||||||
|
@ -117,7 +115,7 @@ class English(object):
|
||||||
text (unicode): The text to be processed.
|
text (unicode): The text to be processed.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
tokens (spacy.tokens.Tokens):
|
tokens (spacy.tokens.Doc):
|
||||||
|
|
||||||
>>> from spacy.en import English
|
>>> from spacy.en import English
|
||||||
>>> nlp = English()
|
>>> nlp = English()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user