Files
INTUIA/Programa final/spacy/lang/nl/__pycache__/lemmatizer.cpython-312.pyc
T

33 lines
4.5 KiB
Plaintext
Raw Normal View History

2026-03-15 13:27:50 +00:00
Ë
>û g„ãóBddlmZmZddlmZddlmZGdde«Zy)é)ÚListÚTupleé)Ú
Lemmatizer)ÚTokencóteZdZededeeeeeffˆfd «ZdedeefdZ dedeefdZ
ˆxZ S)ÚDutchLemmatizerÚmodeÚreturncó<|dk(rgd¢}|gfSt||«S)rule)Ú lemma_lookupÚ lemma_rulesÚ lemma_excÚ lemma_index)ÚsuperÚget_lookups_config)Úclsr
ÚrequiredÚ __class__s €úYC:\Users\garci\AppData\Roaming\Python\Python312\site-packages\spacy/lang/nl/lemmatizer.pyrz"DutchLemmatizer.get_lookups_configs)ø€à 6Š>ÚRˆ˜b -¨dÓ Útokencó”|jjdi«}|jj«}|j ||«gS)zÆOverrides parent method so that a lowercased version of the string
is used to search the lookup table. This is necessary because our
lookup table consists entirely of lowercase keys.r)ÚlookupsÚ get_tableÚtextÚlowerÚget)ÚselfrÚ lookup_tableÚstrings rÚlookup_lemmatizez DutchLemmatizer.lookup_lemmatizesBð—|‘|×-¨n¸bÓ Ø×Ø× Ñ  ¨Ó1rcó(|j|jf}||jvr|j|S|j}|jj«}|dvr"|j«g}||j|<|S|j
j
di«}|j
j
di«}|j
j
di«}|j|i«} |j|i«}
|j|i«} |j«}|dvr|g}||j|<|S|j|i«} || vr|g}||j|<|S|j
j
di«}|j|i«}
|
|dg}||j|<|S#t$rYnwxYw|j
j
di«}
|
j|«}|r|| vr|g}||j|<|S|j
j
di«}g}| D]b\}}|j|«sŒ|dt|«t|«z
|z}|sŒ8|| vr|g}||j|<|cS|j|«Œdttj|««}|rH|D]}||
vsŒ|g}||j|<|cS|r|g}||j|<|S||j|<|S|r|g}||j|<|S|g}||j|<|S)N)ÚÚeolÚspacerrr) ÚnounÚverbÚauxÚadjÚadvÚpronÚdetÚadpÚnumrr)rÚposÚcacherÚpos_rrrÚKeyErrorÚendswithÚlenÚappendÚlistÚdictÚfromkeys)r rÚ cache_keyr"Úuniv_posÚformsÚ index_tableÚ exc_tableÚ rules_tableÚindexÚ
exceptionsÚrulesrr!Úlooked_up_lemmaÚ oov_formsÚoldÚnewÚforms rÚrule_lemmatizezDutchLemmatizer.rule_lemmatizes5ð—[[ %§)¡)Ð,ˆ Ø ˜Ÿ
Ñ —:‘:˜iÑ ˆØ—:‘:ר Ð —\\“^Ð$ˆEØ$)ˆDJ‰J ˆ—l‘l×,¨]¸BÓ Ø—L‘L×*¨;¸Ó;ˆ Ø—l‘l×,¨]¸BÓ Ø ¨"ÓØ—]] 8¨RÓ
Ø ¨"ÓàˆØ ð

ñ