spaCy/spacy/cli/converters
adrianeboyd eb9b1858c4 Add NER map option to convert CLI (#4763)
Instead of a hard-coded NER tag simplification function that was only
intended for NorNE, map NER tags in CoNLL-U converter using a dict
provided as JSON as a command-line option.

Map NER entity types or new tag or to "" for 'O', e.g.:

```
{"PER": "PERSON", "BAD": ""}

=>

B-PER -> B-PERSON
B-BAD -> O
```
2019-12-11 18:20:49 +01:00
..
__init__.py Merging conversion scripts for conll formats (#3405) 2019-03-15 18:14:46 +01:00
conll_ner2json.py Auto-format [ci skip] 2019-10-24 16:21:08 +02:00
conllu2json.py Add NER map option to convert CLI (#4763) 2019-12-11 18:20:49 +01:00
iob2json.py Suppress convert output if writing to stdout (#4472) 2019-10-18 18:12:59 +02:00
jsonl2json.py Fix ner_jsonl2json converter (fix #4389) (#4394) 2019-10-08 00:52:45 +02:00