spaCy/spacy/tests/training
Adriane Boyd f68fc29130
Update sent_starts in Example.from_dict (#7847)
* Update sent_starts in Example.from_dict

Update `sent_starts` for `Example.from_dict` so that `Optional[bool]`
values have the same meaning as for `Token.is_sent_start`.

Use `Optional[bool]` as the type for sent start values in the docs.

* Use helper function for conversion to ternary ints
2021-04-22 11:32:45 +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 Update sent_starts in Example.from_dict (#7847) 2021-04-22 11:32:45 +02: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