spaCy/spacy/tests/regression
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_issue1-1000.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue1001-1500.py Tidy up and auto-format 2020-08-09 22:36:23 +02:00
test_issue1501-2000.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue2001-2500.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue2501-3000.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue3001-3500.py Switch Doc.__init__(ents=) to IOB tags (#6173) 2020-10-01 16:22:18 +02:00
test_issue3501-4000.py Tidy up and auto-format 2020-09-29 21:39:28 +02:00
test_issue4001-4500.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_issue4501-5000.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue5001-5500.py Tidy up tests and docs 2020-09-21 20:43:54 +02:00
test_issue5230.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
test_issue5551.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue5838.py Remove unicode declarations and update language data 2020-09-04 13:19:16 +02:00
test_issue5918.py Remove unused import [ci skip] 2020-10-05 11:50:11 +02:00