(self, doc: Doc)
return doc
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 process.
        RETURNS (Doc): The processed Doc.

        DOCS: https://spacy.io/api/transformer#call
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.
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 .
def __call__(self, doc: Doc) -> Doc:
        """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 process.
        RETURNS (Doc): The processed Doc.

        DOCS: https://spacy.io/api/transformer#call
        """
        install_extensions()
        outputs = self.predict([doc])
        self.set_annotations([doc], outputs)
        return doc
def __call__ ( self , doc : Doc ) -> Doc : install_extensions ( ) outputs = self . predict ( [ doc ] ) self . set_annotations ( [ doc ] , outputs ) return doc