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

Method initialize

spacy/tests/pipeline/test_initialize.py:28–31  ·  view source on GitHub ↗
(
            self, get_examples, nlp, custom1: str, custom2: StrictBool = False
        )

Source from the content-addressed store, hash-verified

26 self.from_initialize = None
27
28 def initialize(
29 self, get_examples, nlp, custom1: str, custom2: StrictBool = False
30 ):
31 self.from_initialize = (custom1, custom2)
32
33 Language.factory(name, func=lambda nlp, name: Component())
34

Callers 15

create_pretraining_modelFunction · 0.45
init_nlpFunction · 0.45
get_updated_modelFunction · 0.45
test_empty_docsFunction · 0.45
test_init_extract_spansFunction · 0.45
test_spancat_model_initFunction · 0.45
test_init_labelsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected