mirror of
https://github.com/explosion/spaCy.git
synced 2025-11-02 17:07:49 +03:00
* Replace pytokenizations with internal alignment Replace pytokenizations with internal alignment algorithm that is restricted to only allow differences in whitespace and capitalization. * Rename `spacy.training.align` to `spacy.training.alignment` to contain the `Alignment` dataclass * Implement `get_alignments` in `spacy.training.align` * Refactor trailing whitespace handling * Remove unnecessary exception for empty docs Allow a non-empty whitespace-only doc to be aligned with an empty doc * Remove empty docs exceptions completely |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_augmenters.py | ||
| test_new_example.py | ||
| test_readers.py | ||
| test_training.py | ||