spaCy/spacy/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
..
_parser_internals Tidy up errors and warnings 2020-10-04 11:16:31 +02:00
__init__.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
attributeruler.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
dep_parser.pyx Fix multitasks 2020-09-29 18:33:16 +02:00
entity_linker.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
entityruler.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
functions.py Refactor Docs.is_ flags (#6044) 2020-09-17 00:14:01 +02:00
lemmatizer.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
morphologizer.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
multitask.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
ner.pyx Fix multitasks 2020-09-29 18:33:16 +02:00
pipe.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
pipe.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
sentencizer.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
senter.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
tagger.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
textcat.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
tok2vec.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
trainable_pipe.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
trainable_pipe.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
transition_parser.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
transition_parser.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00