spaCy/spacy/tests/pipeline
Sofie Van Landeghem d093d6343b
TrainablePipe (#6213)
* rename Pipe to TrainablePipe

* split functionality between Pipe and TrainablePipe

* remove unnecessary methods from certain components

* cleanup

* hasattr(component, "pipe") should be sufficient again

* remove serialization and vocab/cfg from Pipe

* unify _ensure_examples and validate_examples

* small fixes

* hasattr checks for self.cfg and self.vocab

* make is_resizable and is_trainable properties

* serialize strings.json instead of vocab

* fix KB IO + tests

* fix typos

* more typos

* _added_strings as a set

* few more tests specifically for _added_strings field

* bump to 3.0.0a36
2020-10-08 21:33:49 +02:00
..
__init__.py
test_analysis.py
test_attributeruler.py Clear rule-based components on initialize 2020-10-08 09:51:31 +02:00
test_entity_linker.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_entity_ruler.py Clear rule-based components on initialize 2020-10-08 09:51:31 +02:00
test_functions.py
test_initialize.py
test_lemmatizer.py
test_morphologizer.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_pipe_factories.py
test_pipe_methods.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_sentencizer.py
test_senter.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_tagger.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_textcat.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_tok2vec.py Fix test 2020-10-05 19:59:30 +02:00