spaCy/spacy/training/converters
Adriane Boyd f32ee2e533
Fix NER check in CoNLL-U converter (#10302)
* Fix NER check in CoNLL-U converter

Leave ents unset if no NER annotation is found in the MISC column.

* Revert to global rather than per-sentence NER check

* Update spacy/training/converters/conllu_to_docs.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2022-02-21 10:24:52 +01:00
..
__init__.py rename converts in_to_out 2020-09-22 11:50:19 +02:00
conll_ner_to_docs.py Fix parser sourcing in NER converter (#7631) 2021-04-08 12:25:03 +02:00
conllu_to_docs.py Fix NER check in CoNLL-U converter (#10302) 2022-02-21 10:24:52 +01:00
iob_to_docs.py Switch converters to generator functions (#6547) 2020-12-15 16:47:16 +08:00
json_to_docs.py Switch converters to generator functions (#6547) 2020-12-15 16:47:16 +08:00