1
1
mirror of https://github.com/explosion/spaCy.git synced 2025-02-25 16:15:17 +03:00
Commit Graph

1 Commits

Author SHA1 Message Date
Daniël de Kok
c90dd6f265
Alignment: use a simplified ragged type for performance ()
* 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