spaCy/spacy/tests/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
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_analysis.py Simplify pipe analysis 2020-08-01 13:40:06 +02:00
test_attributeruler.py Tidy up and auto-format [ci skip] 2020-08-29 13:01:10 +02:00
test_entity_linker.py Define candidate generator in EL config (#5876) 2020-08-18 16:10:36 +02:00
test_entity_ruler.py Refactor pipeline components, config and language data (#5759) 2020-07-22 13:42:59 +02:00
test_functions.py Refactor pipeline components, config and language data (#5759) 2020-07-22 13:42:59 +02:00
test_lemmatizer.py Tidy up and auto-format 2020-08-09 22:36:23 +02:00
test_morphologizer.py Refactor pipeline components, config and language data (#5759) 2020-07-22 13:42:59 +02:00
test_pipe_factories.py Allow component decorators to re-run with same function 2020-08-28 16:27:22 +02:00
test_pipe_methods.py Use frozen list with custom errors 2020-08-29 15:20:11 +02:00
test_sentencizer.py Refactor pipeline components, config and language data (#5759) 2020-07-22 13:42:59 +02:00
test_senter.py Refactor pipeline components, config and language data (#5759) 2020-07-22 13:42:59 +02:00
test_simple_ner.py Update SimpleNER (#5878) 2020-08-05 14:43:29 +02:00
test_tagger.py Prevent Tagger model init with 0 labels (#5984) 2020-08-31 21:24:33 +02:00
test_textcat.py Relax test 2020-08-14 16:31:09 +02:00