spaCy/spacy/gold
Sofie Van Landeghem 492d1ec5de
Prevent alignment when texts don't match (#5867)
* remove empty gold.pyx

* add alignment unit test (to be used in docs)

* ensure that Alignment is only used on equal texts

* additional test using example.alignment

* formatting

Co-authored-by: Matthew Honnibal <honnibal+gh@gmail.com>
2020-08-04 16:29:18 +02:00
..
converters Refactor pipeline components, config and language data (#5759) 2020-07-22 13:42:59 +02:00
__init__.pxd Improve spacy.gold (no GoldParse, no json format!) (#5555) 2020-06-26 19:34:12 +02:00
__init__.py Create corpus iterator and batcher from registry during training (#5865) 2020-08-04 15:09:37 +02:00
align.py Prevent alignment when texts don't match (#5867) 2020-08-04 16:29:18 +02:00
augment.py Fix typo 2020-07-22 20:27:22 +02:00
batchers.py Create corpus iterator and batcher from registry during training (#5865) 2020-08-04 15:09:37 +02:00
corpus.py Create corpus iterator and batcher from registry during training (#5865) 2020-08-04 15:09:37 +02:00
example.pxd Recalculate alignment if tokenization differs (#5868) 2020-08-04 14:31:32 +02:00
example.pyx Recalculate alignment if tokenization differs (#5868) 2020-08-04 14:31:32 +02:00
gold_io.pyx Make docs_to_json backwards-compatible with v2 (#5714) 2020-07-06 14:15:00 +02:00
iob_utils.py Auto-format 2020-07-04 16:25:34 +02:00