spaCy/spacy/training
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
..
converters fix E902 and E903 numbering 2020-10-05 13:43:32 +02:00
__init__.pxd Renaming gold & annotation_setter (#6042) 2020-09-09 10:31:03 +02:00
__init__.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
align.py Renaming gold & annotation_setter (#6042) 2020-09-09 10:31:03 +02:00
augment.py Auto-format [ci skip] 2020-10-05 21:58:18 +02:00
batchers.py Renaming gold & annotation_setter (#6042) 2020-09-09 10:31:03 +02:00
corpus.py Integrate file readers 2020-10-02 01:36:06 +02:00
example.pxd Make a pre-check to speed up alignment cache (#6139) 2020-09-24 18:13:39 +02:00
example.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
gold_io.pyx Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
initialize.py add initialize method for entity_ruler 2020-10-05 14:59:13 +02:00
iob_utils.py Merge pull request #6089 from adrianeboyd/feature/doc-ents-v3-2 2020-09-24 14:44:42 +02:00
loggers.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
loop.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
pretrain.py Tidy up errors and warnings 2020-10-04 11:16:31 +02:00