Fix docstring [ci skip]

This commit is contained in:
Ines Montani 2020-07-29 14:03:35 +02:00
parent e257e66ab9
commit 80b18124d2
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ class Pipe:
raise NotImplementedError
def __call__(self, Doc doc):
"""Add context-sensitive embeddings to the Doc.tensor attribute.
"""Apply the pipe to one document. The document is modified in place,
and returned. This usually happens under the hood when the nlp object
is called on a text and all components are applied to the Doc.
docs (Doc): The Doc to preocess.
RETURNS (Doc): The processed Doc.