spaCy/spacy
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
..
cli update output of debug config command 2020-10-06 09:47:23 +02:00
displacy Refactor Docs.is_ flags (#6044) 2020-09-17 00:14:01 +02:00
lang Auto-format [ci skip] 2020-10-05 21:58:18 +02:00
matcher Add MORPH handling to Matcher (#6107) 2020-09-24 16:55:09 +02:00
ml Fix empty input into StaticVectors layer (#6211) 2020-10-06 14:15:41 +02:00
pipeline TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
tests TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
tokens Fix morph in Doc.to_json 2020-10-08 14:44:35 +02:00
training TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
__init__.pxd
__init__.py Support vocab arg in spacy.blank 2020-09-15 11:39:36 +02:00
__main__.py
about.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
attrs.pxd
attrs.pyx
compat.py Use Literal type for nr_feature_tokens 2020-09-23 16:00:03 +02:00
default_config.cfg Update default config [ci skip] 2020-10-01 22:27:37 +02:00
default_config_pretraining.cfg Integrate file readers 2020-10-02 01:36:06 +02:00
errors.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
glossary.py
kb.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
kb.pyx TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
language.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
lexeme.pxd
lexeme.pyx
lookups.py Always serialize lookups and vectors to disk 2020-10-05 09:40:20 +02:00
morphology.pxd
morphology.pyx Add _ as a symbol (#6153) 2020-09-27 22:20:14 +02:00
parts_of_speech.pxd
parts_of_speech.pyx
pipe_analysis.py Tidy up and auto-format 2020-09-29 21:39:28 +02:00
schemas.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
scorer.py Tidy up errors and warnings 2020-10-04 11:16:31 +02:00
strings.pxd
strings.pyx
structs.pxd Clean up MorphAnalysisC struct (#6146) 2020-09-25 15:56:48 +02:00
symbols.pxd Add _ as a symbol (#6153) 2020-09-27 22:20:14 +02:00
symbols.pyx Add _ as a symbol (#6153) 2020-09-27 22:20:14 +02:00
tokenizer.pxd
tokenizer.pyx Fix token.idx for special cases with affixes (#6035) 2020-09-13 14:05:36 +02:00
typedefs.pxd
typedefs.pyx
util.py TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
vectors.pyx
vocab.pxd Minor renaming / refactoring 2020-09-18 19:43:19 +02:00
vocab.pyx Always serialize lookups and vectors to disk 2020-10-05 09:40:20 +02:00