spaCy/spacy/tests/training
Sofie Van Landeghem 204c2f116b
Extend score_spans for overlapping & non-labeled spans (#7209)
* extend span scorer with consider_label and allow_overlap

* unit test for spans y2x overlap

* add score_spans unit test

* docs for new fields in scorer.score_spans

* rename to include_label

* spell out if-else for clarity

* rename to 'labeled'

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2021-04-08 12:19:17 +02:00
..
__init__.py move tests to correct subdir 2020-09-15 21:40:38 +02:00
test_augmenters.py Fix lowercase augmentation (#7336) 2021-03-09 14:02:32 +11:00
test_new_example.py Support doc.spans in Example.from_dict (#7197) 2021-03-03 01:12:54 +11:00
test_pretraining.py Fixing pretrain (#7342) 2021-03-09 14:01:13 +11:00
test_readers.py consistently use registry as callable 2021-03-02 17:56:28 +01:00
test_training.py Extend score_spans for overlapping & non-labeled spans (#7209) 2021-04-08 12:19:17 +02:00