
    hk,                         S r SqSS jrg)a\  Centralized registry population for spaCy config

This module centralizes registry decorations to prevent circular import issues
with Cython annotation changes from __future__ import annotations. Functions
remain in their original locations, but decoration is moved here.

Component definitions and registrations are in spacy/pipeline/factories.py
FNc                  z   [         (       a  gSSKJn   SSKJn  SSKJn  SSKJn  SSKJ	n  SSK
Jn  SSKJn  SS	KJnJnJn	Jn
Jn  SS
KJn  SSKJn  SSKJn  SSKJn  SSKJn  SSKJn  SSK J!n  SSK"J#n  SSK$J%n  SSK&J'nJ(nJ)n  SSK*J+nJ,nJ-nJ.n  SSK/J0n  SSK1J2n  SSK3J4n  SSK5J6nJ7n   U Rq                  S5      " U5        U Rq                  S5      " U5        U Rq                  S5      " U5        U Rq                  S5      " U5        U Rq                  S5      " U5        U Rq                  S5      " U5        U Rq                  S5      " U5        U Rq                  S 5      " U5        U Rq                  S!5      " U
5        U Rq                  S"5      " U	5        U Rq                  S#5      " U5        U Rq                  S$5      " U5        U Rq                  S%5      " U5        SSK
Jn!  SS&K9J:n"  SS'K;J<n#J=n$  SS(K>J?n%  SS)K@JAn&  SS*KBJCn'  SS+KJDn(  SS,KEJFn)JGn*  SS-KHJIn+  SS.KJJKn,  SS/KLJMn-JNn.JOn/  SS0KPJQn0  SS1KRJSn1JTn2JUn3JVn4JWn5JXn6JYn7  SS2KZJ[n8J\n9J]n:J^n;J_n<J`n=Jan>Jbn?  SS3KcJdn@  SS4KeJfnA  SS5KgJhnBJinCJjnD  SS6KkJlnEJmnFJnnG  SS7KoJpnH  SS8KqJrnIJsnJ  U R                  S95      " U5        U R                  S:5      " U5        U R                  S;5      " U5        U R                  S<5      " U5        U R                  S=5      " U5        U R                  S>5      " U5        U R                  S?5      " U5        U R                  S@5      " U5        U R                  SA5      " U5        U R                  SB5      " U5        U R                  SC5      " U5        U R                  SD5      " U5        U R                  SE5      " U5        U R                  SF5      " U5        U R                  SG5      " U5        U R                  SH5      " U5        U R                  SI5      " U!5        U R                  SJ5      " U 5        U R                  SK5      " U5        U R                  SL5      " U5        U R                  SM5      " U5        U R                  SN5      " U5        U R                  SO5      " U?5        U R                  SP5      " U=5        U R                  SQ5      " U>5        U R                  SR5      " U<5        U R                  SS5      " U95        U R                  ST5      " U:5        U R                  SU5      " U;5        U R                  SV5      " U85        U R                  SW5      " U(5        U R                  SX5      " U45        U R                  SY5      " U15        U R                  SZ5      " U25        U R                  S[5      " U65        U R                  S\5      " U55        U R                  S]5      " U75        U R                  S^5      " U35        U R                  S_5      " U/5        U R                  S`5      " U,5        U R                  Sa5      " U+5        U R                  Sb5      " U*5        U R                  Sc5      " U)5        U R                  Sd5      " U05        U R                  Se5      " U'5        U R                  Sf5      " U&5        U R                  Sg5      " U%5        U R                  Sh5      " U-5        U R                  Si5      " U.5        U R                  Sj5      " U@5        U R                  Sk5      " U"5        U R                  Sl5      " U95        U R                  Sm5      " UA5        U R                  Sn5      " UH5        U R                  So5      " U$5        U R                  Sp5      " U#5        U R                  Sq5      " UI5        U R                  Sr5      " UJ5        U R                  Ss5      " UF5        U R                  St5      " UG5        U R                  Su5      " UE5        U R                  Sv5      " UB5        U R                  Sw5      " UC5        U R                  Sx5      " UD5        Syq g)zzPopulate the registry with all necessary components.

This function should be called before accessing the registry, to ensure
it's populated. The function uses a global flag to prevent repopulation.
N   )create_tokenizer)create_thai_tokenizer)create_vietnamese_tokenizer)create_chinese_tokenizer)load_lookups_data)make_levenshtein_compare)create_candidatescreate_candidates_batchempty_kbempty_kb_for_configload_kb)make_attribute_ruler_scorer)make_parser_scorer)make_entity_linker_scorer)make_entity_ruler_scorer)make_lemmatizer_scorer)make_morphologizer_scorer)make_ner_scorer)make_senter_scorer)make_span_finder_scorer)%make_overlapping_labeled_spans_scorer"make_preserve_existing_ents_filtermake_prioritize_new_ents_filter)build_ngram_range_suggesterbuild_ngram_suggesterbuild_preset_spans_suggestermake_spancat_scorer)make_tagger_scorer)make_textcat_scorer)make_textcat_multilabel_scorer)make_first_longest_spans_filterregistryz#spacy.first_longest_spans_filter.v1zspacy.ngram_suggester.v1zspacy.ngram_range_suggester.v1zspacy.preset_spans_suggester.v1z#spacy.prioritize_new_ents_filter.v1z(spacy.prioritize_existing_ents_filter.v1zspacy.levenshtein_compare.v1zspacy.KBFromFile.v1zspacy.EmptyKB.v2zspacy.EmptyKB.v1zspacy.CandidateGenerator.v1z spacy.CandidateBatchGenerator.v1zspacy.LookupsDataLoader.v1)PrecomputableAffine)'create_models_and_pipes_with_nvtx_rangecreate_models_with_nvtx_range)extract_ngrams)extract_spans)FeatureExtractor)build_nel_encoder)create_pretrain_characterscreate_pretrain_vectors)build_tb_parser_model)build_finder_model)build_linear_logisticbuild_mean_max_reducerbuild_spancat_model)build_tagger_model)build_bow_text_classifierbuild_bow_text_classifier_v3build_reduce_text_classifier build_simple_cnn_text_classifierbuild_text_classifier_lowdatabuild_text_classifier_v2%build_textcat_parametric_attention_v1)BiLSTMEncoderCharacterEmbedMaxoutWindowEncoderMishWindowEncoderMultiHashEmbedbuild_hash_embed_cnn_tok2vecbuild_Tok2Vec_modeltok2vec_listener_v1)StaticVectors)TransitionModel)create_combined_augmentercreate_lower_casing_augmentercreate_orth_variants_augmenter)configure_minibatch"configure_minibatch_by_padded_sizeconfigure_minibatch_by_words)create_copy_from_base_model)console_loggerconsole_logger_v3zspacy.tagger_scorer.v1zspacy.ner_scorer.v1zspacy.entity_ruler_scorer.v1zspacy.senter_scorer.v1zspacy.textcat_scorer.v1zspacy.textcat_scorer.v2z"spacy.textcat_multilabel_scorer.v1z"spacy.textcat_multilabel_scorer.v2zspacy.lemmatizer_scorer.v1zspacy.span_finder_scorer.v1zspacy.spancat_scorer.v1zspacy.entity_linker_scorer.v1z)spacy.overlapping_labeled_spans_scorer.v1zspacy.attribute_ruler_scorer.v1zspacy.parser_scorer.v1zspacy.morphologizer_scorer.v1zspacy.Tokenizer.v1zspacy.ja.JapaneseTokenizerzspacy.zh.ChineseTokenizerzspacy.ko.KoreanTokenizerzspacy.vi.VietnameseTokenizerzspacy.th.ThaiTokenizerzspacy.Tok2VecListener.v1zspacy.HashEmbedCNN.v2zspacy.Tok2Vec.v2zspacy.MultiHashEmbed.v2zspacy.CharacterEmbed.v2zspacy.MaxoutWindowEncoder.v2zspacy.MishWindowEncoder.v2zspacy.TorchBiLSTMEncoder.v1zspacy.EntityLinker.v2zspacy.TextCatCNN.v2zspacy.TextCatBOW.v2zspacy.TextCatBOW.v3zspacy.TextCatEnsemble.v2zspacy.TextCatLowData.v1z#spacy.TextCatParametricAttention.v1zspacy.TextCatReduce.v1zspacy.SpanCategorizer.v1zspacy.SpanFinder.v1zspacy.TransitionBasedParser.v2zspacy.PretrainVectors.v1zspacy.PretrainCharacters.v1zspacy.Tagger.v2zspacy.FeatureExtractor.v1zspacy.extract_spans.v1zspacy.extract_ngrams.v1zspacy.LinearLogistic.v1zspacy.mean_max_reducer.v1zspacy.StaticVectors.v2zspacy.PrecomputableAffine.v1zspacy.CharEmbed.v1zspacy.TransitionModel.v1zspacy.copy_from_base_model.v1zspacy.models_with_nvtx_range.v1z)spacy.models_and_pipes_with_nvtx_range.v1zspacy.ConsoleLogger.v2zspacy.ConsoleLogger.v3zspacy.batch_by_padded.v1zspacy.batch_by_words.v1zspacy.batch_by_sequence.v1zspacy.combined_augmenter.v1zspacy.lower_case.v1zspacy.orth_variants.v1T)|REGISTRY_POPULATEDlang.jar   lang.kolang.thr   lang.vir   lang.zhr   languager   matcher.levenshteinr	   ml.models.entity_linkerr
   r   r   r   r   pipeline.attributerulerr   pipeline.dep_parserr   pipeline.entity_linkerr   pipeline.entityrulerr   pipeline.lemmatizerr   pipeline.morphologizerr   pipeline.nerr   pipeline.senterr   pipeline.span_finderr   pipeline.span_rulerr   r   r   pipeline.spancatr   r   r   r   pipeline.taggerr   pipeline.textcatr    pipeline.textcat_multilabelr!   utilr"   r#   miscml._precomputable_affiner$   ml.callbacksr%   r&   ml.extract_ngramsr'   ml.extract_spansr(   ml.featureextractorr)   r*   ml.models.multi_taskr+   r,   ml.models.parserr-   ml.models.span_finderr.   ml.models.spancatr/   r0   r1   ml.models.taggerr2   ml.models.textcatr3   r4   r5   r6   r7   r8   r9   ml.models.tok2vecr:   r;   r<   r=   r>   r?   r@   rA   ml.staticvectorsrB   ml.tb_frameworkrC   training.augmentrD   rE   rF   training.batchersrG   rH   rI   training.callbacksrJ   training.loggersrK   rL   scorers
tokenizersarchitectureslayers	callbacksloggersbatchers
augmenters)Kcreate_japanese_tokenizercreate_korean_tokenizerr   r   r   r   r	   r
   r   r   r   r   r   r   r   make_entityruler_scorerr   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/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   sK                                                                              M/home/james-whalen/.local/lib/python3.13/site-packages/spacy/registrations.pypopulate_registryr      sC     GD.41+=  E7 B <A-3= 
  45K? MM78' MM,-.CDMM234OPMM345QRMM78' MM<=* MM012JKMM'(1MM$%&9:MM$%h/MM/01BCMM456MNMM./0AB += 2/ 6: 89 
 5  	 	 	 00 
 
 @C -./AB*+O<345LM-./AB./0CD./0CD9:& 9:& 123IJ234KL./0CD456OP@A- 678ST-./AB456OP ,-.>?456OP345MN234KL678ST012GH 567JK234PQ-./BC45nE45nE9:;NO789JK89-H234EF012RS012KL012NO567OP456ST@A- 345QR567JK012DE;<=RS567NO89:TU,-.@A OO/01ABOO,-m<OO-.~>OO-./DEOO/01GHOO,-m<OO234GHOO().9OO./@ 678ST89:WXBC/
 -.~>-./@A 012TU/01MN234GH 567PQ-./LM012PQ     )returnN)__doc__rM   r    r   r   <module>r      s     hr   