spaCy/spacy/pipeline
Adriane Boyd 9130094199
Prevent Tagger model init with 0 labels (#5984)
* Prevent Tagger model init with 0 labels

Raise an error before trying to initialize a tagger model with 0 labels.

* Add dummy tagger label for test

* Remove tagless tagger model initializiation

* Fix error number after merge

* Add dummy tagger label to test

* Fix formatting

Co-authored-by: Matthew Honnibal <honnibal+gh@gmail.com>
2020-08-31 21:24:33 +02:00
..
_parser_internals
__init__.py
attributeruler.py
dep_parser.pyx
entity_linker.py
entityruler.py
functions.py
lemmatizer.py
morphologizer.pyx
multitask.pyx
ner.pyx
pipe.pxd
pipe.pyx
sentencizer.pyx
senter.pyx
simple_ner.py
tagger.pyx Prevent Tagger model init with 0 labels (#5984) 2020-08-31 21:24:33 +02:00
textcat.py
tok2vec.py
transition_parser.pxd
transition_parser.pyx