spaCy/spacy/ml
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
..
models Pipe API (#6034) 2020-09-08 22:44:25 +02:00
__init__.py Tidy up and auto-format 2020-06-20 14:15:04 +02:00
_biluo.py Tidy up and auto-format 2020-08-05 16:00:59 +02:00
_character_embed.py Update docs and types 2020-07-31 17:02:54 +02:00
_iob.py Pipe API (#6034) 2020-09-08 22:44:25 +02:00
_precomputable_affine.py Tidy up, autoformat, add types 2020-07-25 15:01:15 +02:00
extract_ngrams.py Update docs and types 2020-07-31 17:02:54 +02:00
parser_model.pxd The Parser is now a Pipe (2) (#5844) 2020-07-30 23:30:54 +02:00
parser_model.pyx The Parser is now a Pipe (2) (#5844) 2020-07-30 23:30:54 +02:00
staticvectors.py Format 2020-07-29 14:00:13 +02:00
tb_framework.py Remove unused variable [ci skip] 2020-08-29 13:11:26 +02:00