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 Revert #4334 2019-09-29 17:32:12 +02:00
test_analysis.py Simplify pipe analysis 2020-08-01 13:40:06 +02:00
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 Tidy up tests and docs 2020-09-21 20:43:54 +02:00
test_initialize.py Test with default value 2020-09-29 17:00:40 +02:00
test_lemmatizer.py Make lemmatizers use initialize logic (#6182) 2020-10-02 15:42:36 +02:00
test_morphologizer.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_pipe_factories.py Improve CLI config validation with latest Thinc 2020-09-26 13:13:57 +02:00
test_pipe_methods.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_sentencizer.py Refactor Docs.is_ flags (#6044) 2020-09-17 00:14:01 +02:00
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