Files
INTUIA/Programa final/spacy/__pycache__/__init__.cpython-312.pyc
T

38 lines
3.5 KiB
Plaintext
Raw Normal View History

2026-03-15 13:27:50 +00:00
Ë
=û g ãó‚ddlZddlmZddlmZmZmZmZddlm Z e «ddl
m Z m Z m
Z
mZddlmZddlmZdd lmZdd
lmZdd lmZdd lmZdd
lmZddlmZmZddlmZej>dk(re ejB«dejDejDejDejF«dœdee$efdeee%fdee$ee$fdee$ee$fdee$ee$fdeee$efe fdefdZ&dejF«ejF«dœde$deee%fdeee$efe fdee$efdef
dZ'y)éN)ÚPath)ÚAnyÚDictÚIterableÚUnioné)Úsetup_default_warnings)ÚConfigÚ
prefer_gpuÚ require_cpuÚ require_gpu)Úpipeline)Úutil)Ú __version__)Úinfo)ÚErrors)Úexplain)ÚLanguage)ÚloggerÚregistry)ÚVocabiÿÿÚvocabÚdisableÚenableÚexcludeÚconfigÚnamerrrrrÚreturncó8tj||||||¬«S)agLoad a spaCy model from an installed package or a local path.
name (str): Package name or model path.
vocab (Vocab): A Vocab object. If True, a vocab is created.
disable (Union[str, Iterable[str]]): Name(s) of pipeline component(s) to disable. Disabled
pipes will be loaded but they won't be run unless you explicitly
enable them by calling nlp.enable_pipe.
enable (Union[str, Iterable[str]]): Name(s) of pipeline component(s) to enable. All other
pipes will be disabled (but can be enabled later using nlp.enable_pipe).
exclude (Union[str, Iterable[str]]): Name(s) of pipeline component(s) to exclude. Excluded
components won't be loaded.
config (Dict[str, Any] / Config): Config overrides as nested dict or dict
keyed by section values in dot notation.
RETURNS (Language): The loaded nlp object.
r)rÚ
load_model)rrrrrrs úOC:\Users\garci\AppData\Roaming\Python\Python312\site-packages\spacy/__init__.pyÚloadr#s'ô0 ?‰?Ø ØØØØØô
 ðó)rrÚmetar%có~tj|«}tj|«}|j|||¬«S)aDCreate a blank nlp object for a given language code.
name (str): The language code, e.g. "en".
vocab (Vocab): A Vocab object. If True, a vocab is created.
config (Dict[str, Any] / Config): Optional config overrides.
meta (Dict[str, Any]): Overrides for nlp.meta.
RETURNS (Language): The nlp object.
)rr%)rÚget_lang_classÚ dot_to_dictÚ from_config)rrrr%Ú LangClasss r"Úblankr+=s<ô×# )€Iä
×
Ñ
˜
%€FØ × Ñ  ¨u¸4Ð Ó @r$)(ÚsysÚpathlibrÚtypingrrrrÚerrorsr Ú thinc.apir
r r r
ÚrrÚaboutrÚcli.inforrÚglossaryrÚlanguagerrrrrÚ