spaCy/spacy/cli
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
..
converters Add NER map option to convert CLI (#4763) 2019-12-11 18:20:49 +01:00
__init__.py Move UD scripts to bin 2019-03-20 01:19:34 +01:00
_schemas.py Store JSON schemas in Python and tidy up (#3235) 2019-02-07 19:44:31 +11:00
convert.py Add NER map option to convert CLI (#4763) 2019-12-11 18:20:49 +01:00
debug_data.py Fix minor issues in debug-data (#4636) 2019-11-13 15:25:03 +01:00
download.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00
evaluate.py Add a tagger-based SentenceRecognizer (#4713) 2019-11-28 11:10:07 +01:00
info.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00
init_model.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00
link.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00
package.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00
pretrain.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00
profile.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00
train.py Add a tagger-based SentenceRecognizer (#4713) 2019-11-28 11:10:07 +01:00
validate.py Generalize handling of tokenizer special cases (#4259) 2019-11-13 21:24:35 +01:00