mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
eb9b1858c4
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 ``` |
||
---|---|---|
.. | ||
__init__.py | ||
conll_ner2json.py | ||
conllu2json.py | ||
iob2json.py | ||
jsonl2json.py |