spaCy/spacy/pipeline
Adriane Boyd 29906884c5
Raise an error for textcat with <2 labels (#8584)
* Raise an error for textcat with <2 labels

Raise an error if initializing a `textcat` component without at least
two labels.

* Add similar note to docs

* Update positive_label description in API docs
2021-07-06 12:35:22 +02:00
..
_parser_internals Support negative examples in partial NER annotations (#8106) 2021-06-17 17:33:00 +10:00
__init__.py Add SpanCategorizer component (#6747) 2021-06-24 12:35:27 +02:00
attributeruler.py Fix typo in comment 2021-06-25 18:58:38 -07:00
dep_parser.pyx Support negative examples in partial NER annotations (#8106) 2021-06-17 17:33:00 +10:00
entity_linker.py Merge pull request #8522 from adrianeboyd/chore/update-flake8 2021-06-28 21:46:06 +10:00
entityruler.py Tidy up with flake8: imports, comparisons, etc. 2021-06-28 12:08:15 +02:00
functions.py Tidy up and auto-format 2021-02-13 12:55:56 +11:00
lemmatizer.py Use warnings.warn instead of logger.warning 2021-06-04 17:44:08 +02:00
morphologizer.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
multitask.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
ner.pyx Support negative examples in partial NER annotations (#8106) 2021-06-17 17:33:00 +10:00
pipe.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
pipe.pyx Replace links to nightly docs [ci skip] 2021-01-30 20:09:38 +11:00
sentencizer.pyx Re-refactor Sentencizer with Pipe API (#7176) 2021-02-26 09:48:14 +01:00
senter.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
spancat.py Tidy up code 2021-06-28 12:08:15 +02:00
tagger.pyx Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
textcat.py Raise an error for textcat with <2 labels (#8584) 2021-07-06 12:35:22 +02:00
textcat_multilabel.py Resizable textcat (#7862) 2021-06-16 11:45:00 +02:00
tok2vec.py Ensemble textcat with listener (#8012) 2021-05-31 18:21:06 +10:00
trainable_pipe.pxd Revert added_strings change (#6236) 2020-10-10 18:55:07 +02:00
trainable_pipe.pyx Add SpanCategorizer component (#6747) 2021-06-24 12:35:27 +02:00
transition_parser.pxd TrainablePipe (#6213) 2020-10-08 21:33:49 +02:00
transition_parser.pyx Support negative examples in partial NER annotations (#8106) 2021-06-17 17:33:00 +10:00