spaCy/spacy/tests/training
Daniël de Kok c90dd6f265
Alignment: use a simplified ragged type for performance (#10319)
* Alignment: use a simplified ragged type for performance

This introduces the AlignmentArray type, which is a simplified version
of Ragged that performs better on the simple(r) indexing performed for
alignment.

* AlignmentArray: raise an error when using unsupported index

* AlignmentArray: move error messages to Errors

* AlignmentArray: remove simlified ... with simplifications

* AlignmentArray: fix typo that broke a[n:n] indexing
2022-04-01 09:02:06 +02:00
..
__init__.py
test_augmenters.py Add whitespace and combined augmenters (#10170) 2022-02-17 15:54:09 +01:00
test_new_example.py Allow Example to align whitespace annotation (#10189) 2022-02-03 17:01:53 +01:00
test_pretraining.py Tagger: use unnormalized probabilities for inference (#10197) 2022-03-15 14:15:31 +01:00
test_readers.py Address random results in slow readers tests (#9544) 2021-10-26 16:53:10 +02:00
test_rehearse.py Auto-format code with black (#10377) 2022-02-25 10:00:21 +01:00
test_training.py Alignment: use a simplified ragged type for performance (#10319) 2022-04-01 09:02:06 +02:00