spaCy/spacy/tests/pipeline
Paul O'Leary McCann 6029cfc391
Add scores to output in spancat (#8855)
* Add scores to output in spancat

This exposes the scores as an attribute on the SpanGroup. Includes a
basic test.

* Add basic doc note

* Vectorize score calcs

* Add "annotation format" section

* Update website/docs/api/spancategorizer.md

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Clean up doc section

* Ran prettier on docs

* Get arrays off the gpu before iterating over them

* Remove int() calls

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2021-08-10 13:47:49 +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_annotates_on_update.py Tidy up and auto-format 2021-07-18 15:44:56 +10:00
test_attributeruler.py Tidy up and auto-format 2021-01-05 13:41:53 +11:00
test_entity_linker.py Tidy up with flake8: imports, comparisons, etc. 2021-06-28 12:08:15 +02:00
test_entity_ruler.py Filter W036 for entity ruler, etc. (#8424) 2021-06-21 09:34:29 +02:00
test_functions.py Add token_splitter component (#6726) 2021-01-17 19:54:41 +08:00
test_initialize.py Test with default value 2020-09-29 17:00:40 +02:00
test_lemmatizer.py Tidy up and auto-format 2021-07-18 15:44:56 +10:00
test_models.py Tidy up code 2021-06-28 12:08:15 +02:00
test_morphologizer.py Handle unset token.morph in Morphologizer (#6704) 2021-01-15 17:20:10 +01:00
test_pipe_factories.py Tidy up code 2021-06-28 12:08:15 +02:00
test_pipe_methods.py Tidy up and auto-format 2021-07-18 15:44:56 +10:00
test_sentencizer.py Refactor Docs.is_ flags (#6044) 2020-09-17 00:14:01 +02:00
test_senter.py adding tests for trained models to ensure predict reproducibility 2020-10-13 21:07:13 +02:00
test_spancat.py Add scores to output in spancat (#8855) 2021-08-10 13:47:49 +02:00
test_tagger.py negative tag annotation (#8731) 2021-07-19 14:39:11 +02:00
test_textcat.py Raise an error for textcat with <2 labels (#8584) 2021-07-06 12:35:22 +02:00
test_tok2vec.py Tidy up code 2021-06-28 12:08:15 +02:00