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

Function parse_texts

spacy/cli/profile.py:80–82  ·  view source on GitHub ↗
(nlp: Language, texts: Sequence[str])

Source from the content-addressed store, hash-verified

78
79
80def parse_texts(nlp: Language, texts: Sequence[str]) -> None:
81 for doc in nlp.pipe(tqdm.tqdm(texts, disable=None), batch_size=16):
82 pass
83
84
85def _read_inputs(loc: Union[Path, str], msg: Printer) -> Iterator[str]:

Callers

nothing calls this directly

Calls 1

pipeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…