MCPcopy
hub / github.com/explosion/spaCy / pipe

Method pipe

spacy/language.py:1513–1522  ·  view source on GitHub ↗
(
        self,
        texts: Iterable[Union[str, Doc]],
        *,
        as_tuples: Literal[False] = ...,
        batch_size: Optional[int] = ...,
        disable: Iterable[str] = ...,
        component_cfg: Optional[Dict[str, Dict[str, Any]]] = ...,
        n_process: int = ...,
    )

Source from the content-addressed store, hash-verified

1511
1512 @overload
1513 def pipe(
1514 self,
1515 texts: Iterable[Union[str, Doc]],
1516 *,
1517 as_tuples: Literal[False] = ...,
1518 batch_size: Optional[int] = ...,
1519 disable: Iterable[str] = ...,
1520 component_cfg: Optional[Dict[str, Dict[str, Any]]] = ...,
1521 n_process: int = ...,
1522 ) -> Iterator[Doc]: ...
1523
1524 @overload
1525 def pipe( # noqa: F811

Callers 15

evaluateMethod · 0.95
test_issue2564Function · 0.95
test_doc_gcFunction · 0.95
convertFunction · 0.45
applyFunction · 0.45
parse_textsFunction · 0.45
_get_docsFunction · 0.45
evaluateFunction · 0.45
annotateFunction · 0.45
get_docsFunction · 0.45

Calls 9

_has_gpu_modelMethod · 0.95
_multiprocessing_pipeMethod · 0.95
_ensure_docMethod · 0.95
SimpleFrozenListClass · 0.85
pipeFunction · 0.85
setdefaultMethod · 0.80
appendMethod · 0.80
getMethod · 0.45