spaCy/spacy/ml/models
Sofie Van Landeghem 60f22e1800
Pipe API (#6034)
* ensure Language passes on valid examples for initialization

* fix tagger model initialization

* check for valid get_examples across components

* assume labels were added before begin_training

* fix senter initialization

* fix morphologizer initialization

* use methods to check arguments

* test textcat init, requires thinc>=8.0.0a31

* fix tok2vec init

* fix entity linker init

* use islice

* fix simple NER

* cleanup debug model

* fix assert statements

* fix tests

* throw error when adding a label if the output layer can't be resized anymore

* fix test

* add failing test for simple_ner

* UX improvements

* morphologizer UX

* assume begin_training gets a representative set and processes the labels

* remove assumptions for output of untrained NER model

* restore test for original purpose
2020-09-08 22:44:25 +02:00
..
__init__.py Tidy up and auto-format 2020-06-20 14:15:04 +02:00
entity_linker.py registry.assets -> registry.misc 2020-09-03 17:31:14 +02:00
multi_task.py Update docs and types 2020-07-31 17:02:54 +02:00
parser.py Fix imports, types and default configs 2020-08-07 18:40:54 +02:00
simple_ner.py Pipe API (#6034) 2020-09-08 22:44:25 +02:00
tagger.py Fix imports, types and default configs 2020-08-07 18:40:54 +02:00
textcat.py Add docstring notes 2020-08-07 16:17:34 +02:00
tok2vec.py Fix imports, types and default configs 2020-08-07 18:40:54 +02:00