Ë
    _›¾j‚R  ã                   óZ  — d dl Z d dlmZ d dlmZ d dlmZmZmZm	Z	m
Z
mZmZmZmZmZmZ d dlmZmZmZmZmZmZmZmZmZmZmZ d dlmZmZm Z  d dl!m"Z" dd	l#m$Z$ dd
l%m&Z& ddl'm(Z( ddl)m*Z* erddl+m,Z, ddl-m.Z. ddl/m0Z0  ed«      Z1eee
e1   ge
ee1      f   e"f   Z2eede3ge
d   f   e"f   Z4eedgeee	e3ef   gdf   ef   f   e"f   Z5dee   de	e3ef   dee3   fd„Z6 edd¬«      Z7 edd¬«      Z8 e9«       dddœdede
e3   de3de:de;e   f
d „Z<dd!d"d#œded$e	e3ef   d%ee3   de3de
e3   de	e3ef   fd&„Z=de>dee3   fd'„Z? G d(„ d)e«      Z@ G d*„ d+e«      ZA G d,„ d-e3e«      ZB ed.¬/«      ZCeeBeCf   ZDee@ef   ZEeeAeef   ZFee@eAe3eGeHe>e:f   ZIe&d0   ZJ G d1„ d2e«      ZK G d3„ d4e«      ZL G d5„ d6e«      ZM G d7„ d8e«      ZN G d9„ d:e«      ZO G d;„ d<e«      ZP G d=„ d>e«      ZQ G d?„ d@e«      ZR G dA„ dBe«      ZSeOeNeQeRdCœZT G dD„ dEe«      ZU G dF„ dGe«      ZV G dH„ dIe«      ZW G dJ„ dKe«      ZXy)Lé    N)Údefaultdict)ÚEnum)ÚTYPE_CHECKINGÚAnyÚCallableÚDictÚIterableÚListÚOptionalÚTupleÚTypeÚTypeVarÚUnion)Ú	BaseModelÚ
ConfigDictÚFieldÚ
StrictBoolÚStrictFloatÚ	StrictIntÚ	StrictStrÚValidationErrorÚconstrÚcreate_modelÚfield_validator)ÚConfigValidationErrorÚModelÚ	Optimizer)ÚPromiseé   )ÚNAMES)ÚLiteral)ÚLookups)Úis_cython_func)ÚLanguage)ÚExample)ÚVocabÚItemTr$   r%   ÚschemaÚobjÚreturnc                 óÐ  — 	  | di |¤Ž g S # t         $ rÐ}|j                  «       }t        t        «      }|D ]c  }dj	                  |j                  dg «      D �cg c]  }t        |«      ‘Œ nc c}w c}«      }||   j                  |j                  d«      «       Œe |j                  «       D ��	cg c]  \  }}	d|› ddj	                  |	«      › �‘Œ nc c}	}w c}	}cY d}~S d}~ww xY w)	zôValidate data against a given pydantic schema.

    obj (Dict[str, Any]): JSON-serializable data to validate.
    schema (pydantic.BaseModel): The schema to validate against.
    RETURNS (List[str]): A list of error messages, if available.
    z -> ÚlocÚmsgú[z] z, N© )	r   Úerrorsr   ÚlistÚjoinÚgetÚstrÚappendÚitems)
r(   r)   Úer0   ÚdataÚerrorÚpÚerr_locr,   r-   s
             úW/home/spazio/kingdom_calls/work5/transenv/lib/python3.12/site-packages/spacy/schemas.pyÚvalidater=   6   sÉ   € ð	JÙ‰�ŠØˆ	øÜò JØ—‘“ˆÜœ4Ó ˆØò 	3ˆEØ—k‘k°5·9±9¸UÀBÓ3GÖ"H¨a¤3 q¥6Ñ"HùÔ"HÓIˆGØ�‰M× Ñ  §¡¨5Ó!1Õ2ð	3ð =A¿J¹J»L×I±°°S�!�C�5˜˜4Ÿ9™9 S›>Ð*Ò+ÑIùÖIÕIûðJús4   ‚	 Œ	C%•AC ÁA+Á*AC Â/!CÃ
C ÃC%Ã C%ÚforbidT©ÚextraÚarbitrary_types_allowedÚArgModel)ÚexcludeÚnameÚstrictÚfuncrC   rD   rE   c                ó6  — i }	 t        j                  | «      }d}|j
                  j                  «       D ]Ÿ  }|j                  |v rŒ|j                  |j                  k(  rd}Œ.|j                  |j                  k7  r|j                  nt        }t        | «      rdnd}	|j                  |j                  k7  r|j                  n|	}
||
f||j                  <   Œ¡ |xr | }|rt        nt        |d<   t        |fi |¤ŽS # t        $ r t        |t        ¬«      cY S w xY w)a€  Generate a pydantic model for function arguments.

    func (Callable): The function to generate the schema for.
    exclude (Iterable[str]): Parameter names to ignore.
    name (str): Name of created model class.
    strict (bool): Don't allow extra arguments if no variable keyword arguments
        are allowed on the function.
    RETURNS (type[BaseModel]): A pydantic model.
    )Ú
__config__FTN.rH   )ÚinspectÚ	signatureÚ
ValueErrorr   ÚArgSchemaConfigExtraÚ
parametersÚvaluesrD   ÚkindÚVAR_KEYWORDÚ
annotationÚemptyr   r#   ÚdefaultÚArgSchemaConfig)rF   rC   rD   rE   Úsig_argsÚsigÚhas_variableÚparamrQ   Údefault_emptyrS   Ú	is_stricts               r<   Úget_arg_modelr[   Q   s  € ð  €HðCÜ×Ñ Ó%ˆð
 €LØ—‘×&Ñ&Ó(ò 5ˆØ�:‰:˜Ñ ØØ�:‰:˜×*Ñ*Ò*ð  ˆLØà).×)9Ñ)9¸U¿[¹[Ò)H�U×%Ò%Ìcˆ
ô !/¨tÔ 4™¸#ˆØ#(§=¡=°E·K±KÒ#?�%—-’-À]ˆØ *¨GÐ4ˆ�—‘Òð!5ð" Ò+˜|Ð+€IÙ09�_Ô?S€Hˆ\ÑÜ˜Ñ) Ñ)Ð)øô1 ò Cô ˜DÔ-AÔBÒBðCús   „C; Ã;DÄDÚ )Úget_examplesÚnlp)ÚsectionrD   rC   Úsettingsr_   c                óÚ   — t        | |d¬«      }	 |j                  |«      j                  «       S # t        $ r2}|sdnd|› �}d|› d�}t	        ||j                  «       ||¬«      d‚d}~ww xY w)	a›  Validate initialization settings against the expected arguments in
    the method signature. Will parse values if possible (e.g. int to string)
    and return the updated settings dict. Will raise a ConfigValidationError
    if types don't match or required values are missing.

    func (Callable): The initialize method of a given component etc.
    settings (Dict[str, Any]): The settings from the respective [initialize] block.
    section (str): Initialize section, for error message.
    name (str): Name of the block in the section.
    exclude (Iterable[str]): Parameter names to exclude from schema.
    RETURNS (Dict[str, Any]): The validated settings.
    ÚInitArgModel)rC   rD   Ú
initializezinitialize.z-Error validating initialization settings in [ú])Útitler0   ÚconfigÚparentN)r[   Úmodel_validateÚ
model_dumpr   r   r0   )	rF   r`   r_   rD   rC   r(   r7   Úblockre   s	            r<   Úvalidate_init_settingsrk      s~   € ô( ˜4¨°~ÔF€FðØ×$Ñ$ XÓ.×9Ñ9Ó;Ð;øÜò Ù$+‘°;¸w¸iÐ1HˆØ?À¸wÀaÐHˆÜ#Ø §¡£
°8ÀDô
àð	ûðús   �/ ¯	A*¸-A%Á%A*c                 ó  — d„ }t        | t        «      rUg }| D ]L  }t        |t        «      r)|j                  «       D ��ci c]  \  }} ||«      |“Œ }}}|j	                  |«       ŒN |} t        t        d| i«      S c c}}w )Nc                 ó\   — t        | t        «      r| t        t        «      k  r	t        |    S | S ©N)Ú
isinstanceÚintÚlenr    )Úks    r<   ú<lambda>z(validate_token_pattern.<locals>.<lambda>£   s!   € ¤J¨q´#Ô$6¸1¼sÄ5»zº>œ˜a™€ Èq€ ó    Úpattern)ro   r1   Údictr6   r5   r=   ÚTokenPatternSchema)r)   Úget_keyÚ	convertedru   rr   Úvs         r<   Úvalidate_token_patternr{   ¡   s‚   € áP€GÜ�#”tÔØˆ	Øò 	&ˆGÜ˜'¤4Ô(Ø5<·]±]³_×E©T¨Q°™7 1›: q™=ÐE�ÑEØ×Ñ˜WÕ%ð	&ð ˆÜÔ&¨°CÐ(8Ó9Ð9ùó Fs   ¾A;c                   ó  — e Zd ZU  edd¬«      Zeeed f      ed<    edd¬«      Z	ee
e      ed<    edd¬«      Zee
e      ed<    edd	¬«      Zee
e      ed
<    edd¬«      Zee
e      ed<    edd¬«      Zee
e      ed<    edd¬«      Zeeed f      ed<    edd¬«      Zeeed f      ed<    edd¬«      Zeeed f      ed<    edd¬«      Zeeed f      ed<    edd¬«      Zeeed f      ed<    edd¬«      Zeeed f      ed<    edd¬«      Zeeed f      ed<    edd¬«      Zeeed f      ed<    edd¬«      Zeeed f      ed <    edd!¬«      Zeeed f      ed"<    ed#d$¬%«      Z ed&d'¬(«      ed)„ «       «       Zy)*ÚTokenPatternStringNÚregex©ÚaliasÚREGEXÚinÚINÚnot_inÚNOT_INÚ	is_subsetÚ	IS_SUBSETÚis_supersetÚIS_SUPERSETÚ
intersectsÚ
INTERSECTSÚfuzzyÚFUZZYÚfuzzy1ÚFUZZY1Úfuzzy2ÚFUZZY2Úfuzzy3ÚFUZZY3Úfuzzy4ÚFUZZY4Úfuzzy5ÚFUZZY5Úfuzzy6ÚFUZZY6Úfuzzy7ÚFUZZY7Úfuzzy8ÚFUZZY8Úfuzzy9ÚFUZZY9r>   T©r@   Úpopulate_by_nameÚ*Úbefore©Úmodec                 ó    — |€t        d«      ‚|S ©NzNone / null is not allowed©rK   ©Úclsrz   s     r<   Úraise_for_nonez!TokenPatternString.raise_for_noneÔ   ó   € ð ˆ9ÜÐ9Ó:Ð:Øˆrt   )Ú__name__Ú
__module__Ú__qualname__r   r�   r   r   r   Ú__annotations__rƒ   r
   r…   r‡   r‰   r‹   r�   r�   r‘   r“   r•   r—   r™   r›   r�   rŸ   r   Úmodel_configr   Úclassmethodr«   r/   rt   r<   r}   r}   ®   sv  … Ù>CÀDÐPWÔ>X€Eˆ8�E˜)Ð%9Ð9Ñ:Ñ;ÓXÙ$)¨$°dÔ$;€Bˆ��i‘Ñ!Ó;Ù(-¨d¸(Ô(C€FˆH�T˜)‘_Ñ%ÓCÙ+0°¸[Ô+I€Iˆx˜˜Y™Ñ(ÓIÙ-2°4¸}Ô-M€K�˜$˜y™/Ñ*ÓMÙ,1°$¸lÔ,K€J�˜˜i™Ñ)ÓKÙ>CÀDÐPWÔ>X€Eˆ8�E˜)Ð%9Ð9Ñ:Ñ;ÓXÙ?DØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ @EØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ @EØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ @EØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ @EØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ @EØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ @EØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ @EØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ @EØ�Hô@€FˆH�U˜9Ð&:Ð:Ñ;Ñ<ó ñ  H¸tÔD€Lá�S˜xÔ(Øñó ó )ñrt   r}   c                   óV  — e Zd ZU  edd¬«      Zee   ed<    edd¬«      Zee	e
      ed<    edd¬«      Zee	e
      ed<    edd	¬«      Zee	e
      ed
<    edd¬«      Zee	e
      ed<    edd¬«      Zee	e
      ed<    edd¬«      Zeee
ef      ed<    edd¬«      Zeee
ef      ed<    edd¬«      Zeee
ef      ed<    edd¬«      Zeee
ef      ed<    edd¬«      Zeee
ef      ed<    edd¬«      Zeee
ef      ed<    edd¬«      Z edd¬ «      ed!„ «       «       Zy)"ÚTokenPatternNumberNr~   r   r�   r‚   rƒ   r„   r…   r†   r‡   rˆ   r‰   rŠ   r‹   z==ÚEQz!=ÚNEQz>=ÚGEQz<=ÚLEQú>ÚGTú<ÚLTr>   Tr    r¢   r£   r¤   c                 ó    — |€t        d«      ‚|S r§   r¨   r©   s     r<   r«   z!TokenPatternNumber.raise_for_noneì   r¬   rt   )r­   r®   r¯   r   r�   r   r   r°   rƒ   r
   r   r…   r‡   r‰   r‹   rµ   r   r   r¶   r·   r¸   rº   r¼   r   r±   r   r²   r«   r/   rt   r<   r´   r´   Ü   s‡  … Ù!& t°7Ô!;€Eˆ8�IÑÓ;Ù$)¨$°dÔ$;€Bˆ��i‘Ñ!Ó;Ù(-¨d¸(Ô(C€FˆH�T˜)‘_Ñ%ÓCÙ+0°¸[Ô+I€Iˆx˜˜Y™Ñ(ÓIÙ-2°4¸}Ô-M€K�˜$˜y™/Ñ*ÓMÙ,1°$¸lÔ,K€J�˜˜i™Ñ)ÓKÙ27¸ÀDÔ2I€Bˆ��y +Ð-Ñ.Ñ/ÓIÙ38¸ÀTÔ3J€Cˆ�%˜	 ;Ð.Ñ/Ñ	0ÓJÙ38¸ÀTÔ3J€Cˆ�%˜	 ;Ð.Ñ/Ñ	0ÓJÙ38¸ÀTÔ3J€Cˆ�%˜	 ;Ð.Ñ/Ñ	0ÓJÙ27¸ÀCÔ2H€Bˆ��y +Ð-Ñ.Ñ/ÓHÙ27¸ÀCÔ2H€Bˆ��y +Ð-Ñ.Ñ/ÓHá H¸tÔD€Lá�S˜xÔ(Øñó ó )ñrt   r´   c                   óL   — e Zd Z ed«      Z ed«      Z ed«      Z ed«      Zy)ÚTokenPatternOperatorSimpleú+r¢   ú?ú!N)r­   r®   r¯   r   ÚplusÚstarÚquestionÚexclamationr/   rt   r<   r¿   r¿   ô   s&   „ Ù�S‹>€DÙ�S‹>€DÙ˜‹~€HÙ˜C“.�Krt   r¿   z#^(\{\d+\}|\{\d+,\d*\}|\{\d*,\d+\})$)ru   )r\   ÚIÚOÚBr   r   é   é   c                   óN  — e Zd ZU dZee   ed<   dZee   ed<   dZee   ed<   dZ	ee   ed<   dZ
ee   ed<   dZee   ed<   dZee   ed<   dZee   ed	<   dZee   ed
<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZ ee   ed<   dZ!ee   ed<   dZ"ee   ed<   dZ#ee   ed<   dZ$ee   ed<   dZ%ee   ed<   dZ&ee   ed<   dZ'ee   ed <   dZ(ee   ed!<   dZ)ee   ed"<   dZ*ee   ed#<   dZ+ee   ed$<   dZ,ee-   ed%<    e.dd&¬'«      Z/ee0e1e2f      ed(<    e3d)d*d+„ ¬,«      Z4 e5d-d.¬/«      e6d0„ «       «       Z7y)1ÚTokenPatternNÚorthÚtextÚlowerÚposÚtagÚmorphÚdepÚlemmaÚshapeÚent_typeÚent_iobÚent_idÚ	ent_kb_idÚnormÚlengthÚspacyÚis_alphaÚis_asciiÚis_digitÚis_lowerÚis_upperÚis_titleÚis_punctÚis_spaceÚ
is_bracketÚis_quoteÚis_left_punctÚis_right_punctÚis_currencyÚis_stopÚis_sent_startÚ
sent_startÚlike_numÚlike_urlÚ
like_emailÚopÚ_r   Ú
underscorer>   Tc                 ó"   — | j                  «       S rn   )Úupper)Úvalues    r<   rs   zTokenPattern.<lambda>1  s   €  e§k¡k£m€ rt   )r@   r¡   Úalias_generatorr¢   r£   r¤   c                 ó    — |€t        d«      ‚|S r§   r¨   r©   s     r<   r«   zTokenPattern.raise_for_none4  r¬   rt   )8r­   r®   r¯   rÎ   r   ÚStringValuer°   rÏ   rÐ   rÑ   rÒ   rÓ   rÔ   rÕ   rÖ   r×   rØ   ÚIobValuerÙ   rÚ   rÛ   rÜ   ÚNumberValuerÝ   r   rÞ   rß   rà   rá   râ   rã   rä   rå   ræ   rç   rè   ré   rê   rë   rì   rí   rî   rï   rð   rñ   ÚTokenPatternOperatorr   ró   r   r   ÚUnderscoreValuer   r±   r   r²   r«   r/   rt   r<   rÍ   rÍ     su  … Ø"&€Dˆ(�;Ñ
Ó&Ø"&€Dˆ(�;Ñ
Ó&Ø#'€Eˆ8�KÑ Ó'Ø!%€Cˆ�+Ñ	Ó%Ø!%€Cˆ�+Ñ	Ó%Ø#'€Eˆ8�KÑ Ó'Ø!%€Cˆ�+Ñ	Ó%Ø#'€Eˆ8�KÑ Ó'Ø#'€Eˆ8�KÑ Ó'Ø&*€Hˆh�{Ñ#Ó*Ø"&€GˆX�hÑÓ&Ø$(€FˆH�[Ñ!Ó(Ø'+€Iˆx˜Ñ$Ó+Ø"&€Dˆ(�;Ñ
Ó&Ø$(€FˆH�[Ñ!Ó(Ø"&€Eˆ8�JÑÓ&Ø%)€Hˆh�zÑ"Ó)Ø%)€Hˆh�zÑ"Ó)Ø%)€Hˆh�zÑ"Ó)Ø%)€Hˆh�zÑ"Ó)Ø%)€Hˆh�zÑ"Ó)Ø%)€Hˆh�zÑ"Ó)Ø%)€Hˆh�zÑ"Ó)Ø%)€Hˆh�zÑ"Ó)Ø'+€J�˜Ñ$Ó+Ø%)€Hˆh�zÑ"Ó)Ø*.€M�8˜JÑ'Ó.Ø+/€N�H˜ZÑ(Ó/Ø(,€K�˜*Ñ%Ó,Ø$(€GˆX�jÑ!Ó(Ø*.€M�8˜JÑ'Ó.Ø'+€J�˜Ñ$Ó+Ø%)€Hˆh�zÑ"Ó)Ø%)€Hˆh�zÑ"Ó)Ø'+€J�˜Ñ$Ó+Ø)-€BˆÐ%Ñ&Ó-Ù=BÀ4ÈsÔ=S€J�˜˜i¨Ð8Ñ9Ñ:ÓSáØØÙ3ô€Lñ �S˜xÔ(Øñó ó )ñrt   rÍ   c                   óD   — e Zd ZU  edd¬«      Zee   ed<    ed¬«      Z	y)rw   .r   )Ú
min_lengthru   r>   ©r@   N)
r­   r®   r¯   r   ru   r
   rÍ   r°   r   r±   r/   rt   r<   rw   rw   <  s"   … Ù"'¨¸Ô":€GˆT�,ÑÓ:á HÔ-�Lrt   rw   c                   ób  — e Zd ZU  edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zeed<    ed	d
¬«      Z	eed<    edd¬«      Z
eed<    eg d¬«      Zee   ed<    eg d¬«      Zee   ed<    ed	d¬«      Zeed<    ed	d¬«      Zeed<    ed	d¬«      Zeed<    ed	d¬«      Zeed<    ed	d¬«      Zeed<    edd¬«      Zeeee   eeeef      f      ed<    ei d ¬«      Zeeef   ed!<    ei d"¬«      Zeeee   f   ed#<    ei d$¬«      Zeeef   ed%<    ed	d&¬«      Zeed'<   y)(ÚModelMetaSchema.z#Two-letter language code, e.g. 'en'©re   Úlangz
Model namerD   zModel versionÚversionr\   z#Compatible spaCy version identifierÚspacy_versionrÝ   z9Name of parent spaCy package, e.g. spacy or spacy-nightlyÚparent_packagezIAdditional Python package dependencies, used for the Python package setupÚrequirementszNames of pipeline componentsÚpipelinezModel descriptionÚdescriptionzModel licenseÚlicensezModel author nameÚauthorzModel author emailÚemailzModel author URLÚurlNzTraining data sourcesÚsourceszIncluded word vectorsÚvectorsz)Component labels, keyed by component nameÚlabelszAccuracy and speed numbersÚperformancezCommit of spaCy version usedÚspacy_git_version)r­   r®   r¯   r   r  r   r°   rD   r  r  r  r  r
   r	  r
  r  r  r  r  r  r   r   r   r4   r  r   r  r  r  r/   rt   r<   r  r  E  s}  … á˜CÐ'LÔM€Dˆ)ÓMÙ˜C |Ô4€Dˆ)Ó4Ù˜s¨/Ô:€GˆYÓ:Ù$ RÐ/TÔU€M�9ÓUÙ % gÐ5pÔ q€N�IÓqÙ$)¨"Ð4ô  %A€L�$�y‘/ó  AÙ % bÐ0NÔ O€Hˆd�9‰oÓOÙ" 2Ð-@ÔA€K�ÓAÙ˜r¨Ô9€GˆYÓ9Ù˜bÐ(;Ô<€FˆIÓ<Ù˜RÐ';Ô<€Eˆ9Ó<Ù˜2Ð%7Ô8€CˆÓ8ÙFKÈDÐXoÔFp€GˆX�e˜D ™O¨T°$°s¸C°x±.Ñ-AÐAÑBÑCÓpÙ# BÐ.EÔF€GˆT�#�s�(‰^ÓFÙ#(¨Ð3^Ô#_€FˆD��d˜3‘i�Ñ Ó_Ù"'¨Ð2NÔ"O€K��c˜3�h‘ÓOÙ#(¨Ð3QÔ#RÐ�yÔRrt   r  c                   ó   — e Zd ZU  edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Ze	ed<    edd	¬«      Z
eed
<    edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zee   ed<    edd¬«      Zee   ed<    edd¬«      Zeed<    edd¬«      Zeeeeeef      f   ed<    edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zee   ed <    edd!¬«      Zee   ed"<    edd#¬«      Z ee!d$gd$f      ed%<    edd&¬«      Z"ee!d$eee#f   gd'f      ed(<    e$d)d*¬+«      Z%y'),ÚConfigSchemaTraining.z"Path in the config to the dev datar  Ú
dev_corpusú'Path in the config to the training dataÚtrain_corpusúBatcher for the training dataÚbatcherúDropout rateÚdropoutzBHow many steps to continue without improvement in evaluation scoreÚpatienceú%Maximum number of epochs to train forÚ
max_epochsz+Maximum number of update steps to train forÚ	max_stepsz-How often to evaluate during training (steps)Úeval_frequencyzRandom seedÚseedz$Memory allocator when running on GPUÚgpu_allocatorz,Whether to divide the batch up into substepsÚaccumulate_gradientz<Scores to report and their weights for selecting final modelÚscore_weightsúThe optimizer to useÚ	optimizerz%The logger to track training progressÚloggerz=Pipeline components that shouldn't be updated during trainingÚfrozen_componentsz?Pipeline components that should set annotations during trainingÚannotating_componentszPOptional callback to modify nlp object after training, before it's saved to diskr$   Úbefore_to_diskzDOptional callback that is invoked at the start of each training stepNÚbefore_updater>   Tr?   )&r­   r®   r¯   r   r  r   r°   r  r  ÚBatcherr  r   r  r   r  r   r!  r"  r   r#  r$  r%  r   r   r'  r   r(  ÚLoggerr)  r
   r4   r*  r+  r   r,  r   r   r±   r/   rt   r<   r  r  c  sÐ  … á! #Ð-QÔR€J�	ÓRÙ# CÐ/XÔY€L�)ÓYÙ˜SÐ(GÔH€GˆWÓHÙ  ¨NÔ;€Gˆ[Ó;Ù Ð+oÔp€HˆiÓpÙ! #Ð-TÔU€J�	ÓUÙ  Ð,YÔZ€IˆyÓZÙ % cÐ1`Ô a€N�IÓaÙ % c°Ô ?€Dˆ(�9Ñ
Ó?Ù).¨sÐ:`Ô)a€M�8˜IÑ&ÓaÙ%*¨3Ð6dÔ%eÐ˜ÓeÙNSÐTWð  `^ô  O_€M�4˜	 8¨E°+¸yÐ2HÑ,IÑ#JÐJÑKó  _Ù  Ð,BÔC€IˆyÓCÙ˜3Ð&MÔN€FˆFÓNÙ#(¨Ð4sÔ#tÐ�t˜C‘yÓtÙ',¨SÐ8yÔ'zÐ˜4 ™9ÓzÙCHÈð  Ugô  Dh€N�H˜X z l°JÐ&>Ñ?Ñ@ó  hÙLQÐRUð  ^dô  Me€M�8˜H j°$°s¸C°x±.Ð%AÀ4Ð%GÑHÑIó  eñ  HÀdÔK�Lrt   r  c                   ó„  — e Zd ZU  edd¬«      Zeed<    edd¬«      Zee   ed<    edd¬«      Z	ee   ed<    edd	¬«      Z
eed
<    edd¬«      Zeeed   ged   f      ed<    edd¬«      Zeedgdf      ed<    edd¬«      Zeedgdf      ed<    edd¬«      Zee   ed<    edd¬«      Zeed<    edd¬«      Zy)ÚConfigSchemaNlp.zThe base language to user  r  z%The pipeline component names in orderr	  z)Pipeline components to disable by defaultÚdisabledzThe tokenizer to useÚ	tokenizerz@Optional callback to modify Language class before initializationr$   Úbefore_creationz\Optional callback to modify nlp object after creation and before the pipeline is constructedÚafter_creationzHOptional callback to modify nlp object after the pipeline is constructedÚafter_pipeline_creationzDefault batch sizeÚ
batch_sizezVectors implementationr  r>   Tr?   N)r­   r®   r¯   r   r  r   r°   r	  r
   r1  r2  r   r3  r   r   r4  r5  r6  rp   r  r   r±   r/   rt   r<   r0  r0  |  s   … á˜CÐ'AÔB€Dˆ)ÓBÙ % cÐ1XÔ Y€Hˆd�9‰oÓYÙ % cÐ1\Ô ]€Hˆd�9‰oÓ]Ù Ð+AÔB€IˆxÓBÙPUÐVYð  bdô  Qe€O�X˜h¨¨ZÑ(8Ð'9¸4À
Ñ;KÐ'KÑLÑMó  eÙCHÈð  Usô  Dt€N�H˜X z l°JÐ&>Ñ?Ñ@ó  tÙLQÐRUð  ^hô  MiÐ˜X h°
¨|¸ZÐ/GÑ&HÑIó  iÙ % cÐ1EÔ F€J�˜‘ÓFÙ˜cÐ)AÔB€GˆXÓBñ  HÀdÔK�Lrt   r0  c                   ó   — e Zd Z ed¬«      Zy)ÚConfigSchemaPretrainEmptyr>   r   N)r­   r®   r¯   r   r±   r/   rt   r<   r8  r8  Œ  s   „ Ù HÔ-�Lrt   r8  c                   óh  — e Zd ZU  edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Z	e
e   ed<    edd	¬«      Ze
e   ed
<    edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zeed<    edd¬«      Zedegef   ed<    edd¬«      Zy)ÚConfigSchemaPretrain.r  r  r  r  r  zASaving additional temporary model after n batches within an epochÚn_save_everyz Saving model after every n epochÚn_save_epochr&  r'  r  Úcorpusr  r  z'Component to find the layer to pretrainÚ	componentz(Layer to pretrain. Whole model if empty.Úlayerz2A function that creates the pretraining objective.r&   Ú	objectiver>   Tr?   N)r­   r®   r¯   r   r  r   r°   r  r   r;  r   r<  r'  r   r=  r   r  r-  r>  r4   r?  r@  r   r   r   r±   r/   rt   r<   r:  r:  �  sÜ   … á! #Ð-TÔU€J�	ÓUÙ  ¨NÔ;€Gˆ[Ó;Ù(-¨cÐ9|Ô(}€L�(˜9Ñ%Ó}Ù(-¨cÐ9[Ô(\€L�(˜9Ñ%Ó\Ù  Ð,BÔC€IˆyÓCÙ˜cÐ)RÔS€FˆIÓSÙ˜SÐ(GÔH€GˆWÓHÙ˜3Ð&OÔP€IˆsÓPÙ�sÐ"LÔM€Eˆ3ÓMÙ38¸ÐDxÔ3y€Iˆx˜ %Ð(¨%Ð/Ñ0Óyñ  HÀdÔK�Lrt   r:  c                   ól  — e Zd ZU  edd¬«      Zee   ed<    edd¬«      Zee	   ed<    edd¬«      Z
ee   ed<    edd	¬«      Zee   ed
<    edd¬«      Zeeef   ed<    edd¬«      Zeeeeef   f   ed<    edd¬«      Zeedgdf      ed<    edd¬«      Zeedgdf      ed<    edd¬«      Zy)ÚConfigSchemaInit.z&Path to JSON-formatted vocabulary filer  Ú
vocab_dataz-Vocabulary lookups, e.g. lexeme normalizationÚlookupszPath to vectorsr  z"Path to pretrained tok2vec weightsÚinit_tok2vecz0Arguments to be passed into Tokenizer.initializer2  zYArguments for TrainablePipe.initialize methods of pipeline components, keyed by componentÚ
componentsz<Optional callback to modify nlp object before initializationr$   Úbefore_initz;Optional callback to modify nlp object after initializationÚ
after_initr>   Tr?   N)r­   r®   r¯   r   rC  r   r   r°   rD  r"   r  rE  r2  r   r   rF  rG  r   rH  r   r±   r/   rt   r<   rB  rB  ¡  s  … á&+¨CÐ7_Ô&`€J�˜Ñ#Ó`Ù!& sÐ2aÔ!b€GˆX�gÑÓbÙ#(¨Ð4EÔ#F€GˆX�iÑ ÓFÙ(-¨cÐ9]Ô(^€L�(˜9Ñ%Ó^Ù&+¨CÐ7iÔ&j€Iˆt�I˜s�NÑ#ÓjÙ8=¸cð  Jeô  9f€J��Y  Y° ^Ñ 4Ð4Ñ5ó  fÙ@EÀcð  RPô  AQ€K�˜( J <°Ð#;Ñ<Ñ=ó  QÙ?DÀSð  QNô  @O€J�˜ : ,°
Ð":Ñ;Ñ<ó  Oñ  HÀdÔK�Lrt   rB  c                   óŠ   — e Zd ZU eed<   eed<   i Zeee	f   ed<   e
ee
eef   f   ed<   e
eef   ed<   eed<    edd¬	«      Zy
)ÚConfigSchemaÚtrainingr^   ÚpretrainingrF  Úcorporarc   ÚallowTr?   N)r­   r®   r¯   r  r°   r0  rL  r   r:  r8  r   r4   r   ÚReaderrB  r   r±   r/   rt   r<   rJ  rJ  °  s]   … Ø"Ó"Ø	ÓØJL€K�Ð+Ð-FÐFÑGÓLØ�S˜$˜s C˜x™.Ð(Ñ)Ó)Ø�#�v�+ÑÓØ Ó á GÀTÔJ�Lrt   rJ  )r^   rK  rL  rc   c                   ó"   — e Zd ZU eed<   eed<   y)ÚRecommendationTrfItemrD   Úsize_factorN)r­   r®   r¯   r4   r°   rp   r/   rt   r<   rQ  rQ  Å  s   … Ø
ƒIØÔrt   rQ  c                   ó"   — e Zd ZU eed<   eed<   y)ÚRecommendationTrfÚ
efficiencyÚaccuracyN)r­   r®   r¯   rQ  r°   r/   rt   r<   rT  rT  Ê  s   … Ø%Ó%Ø#Ô#rt   rT  c                   óD   — e Zd ZU dZee   ed<   dZee   ed<   dZ	e
ed<   y)ÚRecommendationSchemaNÚword_vectorsÚtransformerTÚhas_letters)r­   r®   r¯   rY  r   r4   r°   rZ  rT  r[  Úboolr/   rt   r<   rX  rX  Ï  s*   … Ø"&€L�(˜3‘-Ó&Ø/3€K�Ð+Ñ,Ó3Ø€K�Ôrt   rX  c            	       óü  — e Zd ZU dZ edd¬«      Zeeee	f      e
d<    edd¬«      Zeeeeeeef   f         e
d<    edd¬«      Zeeeeef         e
d	<    ed
d¬«      Zee
d<    edd¬«      Zeeeeeeeeef   f      f      e
d<    ed
d¬«      Zeeeeeef   f      e
d<    eddd¬«      Zeeeef      e
d<    edd¬«      Zeeeeeeef      f      e
d<    edd¬«      Zeeeeeeef      f      e
d<   y)ÚDocJSONSchemazB
    JSON/dict format for JSON representation of Doc objects.
    Nz+Categories with corresponding probabilitiesr  ÚcatszInformation on entitiesÚentsz+Indices of sentences' start and end indicesÚsents.zDocument textrÏ   z2Span information - end/start indices, label, KB IDÚspansz*Token information - ID, start, annotationsÚtokensz4Any custom data stored in the document's _ attributerò   )re   r€   Úunderscore_docz1Any custom data stored in the token's _ attributeÚunderscore_tokenz0Any custom data stored in the span's _ attributeÚunderscore_span)r­   r®   r¯   Ú__doc__r   r_  r   r   r   r   r°   r`  r
   r   r   ra  rÏ   rb  rc  rd  r   re  rf  r/   rt   r<   r^  r^  Õ  sÀ  … ññ 49ØÐAô4€Dˆ(�4˜	 ;Ð.Ñ/Ñ
0ó ñ JOØÐ-ôJ€Dˆ(�4˜˜Y¨¨i¸Ð.BÑ(CÐCÑDÑEÑ
Fó ñ 9>ØÐAô9€Eˆ8�D˜˜i¨Ð2Ñ3Ñ4Ñ5ó ñ ˜C Ô7€Dˆ)Ó7ñ 	ˆdÐNÔOð 
ˆ8ØˆY˜˜T )¨U°9¸iÐ3GÑ-HÐ"HÑIÑJÐJÑKñó Pñ BGØÐ?ôB€FˆD��i  y°)Ð';Ñ!<Ð<Ñ=Ñ>ó ñ 6;ØØDØô6€N�H˜T )¨S .Ñ1Ñ2ó ñ
 OTØÐGôOÐ�h˜t I¨t°D¸ÀC¸Ñ4HÑ/IÐ$IÑJÑKó ñ NSØÐFôN€O�X˜d 9¨d°4¸	À3¸Ñ3GÑ.HÐ#HÑIÑJô rt   r^  )YrI   Úcollectionsr   Úenumr   Útypingr   r   r   r   r	   r
   r   r   r   r   r   Úpydanticr   r   r   r   r   r   r   r   r   r   r   Ú	thinc.apir   r   r   Úthinc.configr   Úattrsr    Úcompatr!   rD  r"   Úutilr#   Úlanguager$   rK  r%   Úvocabr&   r'   r-  r4   rO  r.  r=   rT   rL   Útupler\  Útyper[   rk   r1   r{   r}   r´   r¿   ÚTokenPatternOperatorMinMaxrü   rù   rû   rp   Úfloatrý   rú   rÍ   rw   r  r  r0  r8  r:  rB  rJ  ÚCONFIG_SCHEMASrQ  rT  rX  r^  r/   rt   r<   ú<module>rx     sK  ðÛ Ý #Ý ÷÷ ÷ ñ ÷÷ ÷ ñ ÷ >Ñ =Ý  å Ý Ý Ý  áå"Ý!Ýñ 	�Ó€Ø
�˜( 5™/Ð*¨H°T¸%±[Ñ,AÐAÑBÀGÐKÑ
L€Ø	ˆx˜ SÐ)¨8°IÑ+>Ð>Ñ?ÀÐHÑ	I€Ø	ˆx˜˜ e¨H°d¸3À¸8±nÐ5EÀtÐ5KÑ,LÈhÐ,VÑ&WÐWÑXÐZaÐaÑ	b€ðJ�T˜)‘_ð J¨4°°S°©>ð J¸dÀ3¹ió Jñ,  8ÀTÔJ€á!¨È$ÔOÐ ñ #›WØØò+*Ø
ð+*ð �c‰]ð+*ð ð	+*ð
 ð+*ð 
ˆ)�_ó+*ðd "ØØ4òØ
ðà�3˜�8‰nðð �c‰]ð	ð
 ðð �c‰]ðð 
ˆ#ˆsˆ(�^óðD
: ð 
:¨¨c©ó 
:ô+˜ô +ô\˜ô ô0!  dô !ñ $Ð,RÔSÐ ð Ð7Ð9SÐSÑTÐ ØÐ&¨	Ð1Ñ2€ØÐ&¨	°;Ð>Ñ?€ØØÐ*¨C°°e¸TÀ4ÐGñ€ð Ð0Ñ1€ô2�9ô 2ôj.˜ô .ôS�iô Sô<L˜9ô Lô2L�iô Lô . 	ô .ôL˜9ô Lô"L�yô LôK�9ô Kð Ø$Ø'Ø"ñ	€ô˜Iô ô
$˜	ô $ô
˜9ô ô�Iõ rt   