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 The Parser is now a Pipe (2) (#5844) 2020-07-30 23:30:54 +02:00
__init__.py Add Lemmatizer and simplify related components (#5848) 2020-08-07 15:27:13 +02:00
attributeruler.py Merge pull request #5993 from explosion/feature/disabled-components 2020-08-29 15:58:41 +02:00
dep_parser.pyx Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
entity_linker.py Merge pull request #5993 from explosion/feature/disabled-components 2020-08-29 15:58:41 +02:00
entityruler.py Use frozen list with custom errors 2020-08-29 15:20:11 +02:00
functions.py Option for returning only greedy matches (#5771) 2020-07-29 11:04:43 +02:00
lemmatizer.py Use init parameter (#5909) 2020-08-11 23:41:58 +02:00
morphologizer.pyx Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
multitask.pyx Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
ner.pyx Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
pipe.pxd Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
pipe.pyx Rename Transformer listener (#6001) 2020-08-31 12:41:39 +02:00
sentencizer.pyx Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
senter.pyx Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
simple_ner.py Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
tagger.pyx Prevent Tagger model init with 0 labels (#5984) 2020-08-31 21:24:33 +02:00
textcat.py Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
tok2vec.py Rename Transformer listener (#6001) 2020-08-31 12:41:39 +02:00
transition_parser.pxd Tidy up pipes (#5906) 2020-08-11 23:29:31 +02:00
transition_parser.pyx Replace lexeme_norm warning with logging 2020-08-14 15:00:52 +02:00