mirror of
https://github.com/explosion/spaCy.git
synced 2025-11-01 08:27:44 +03:00
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
```
|
||
|---|---|---|
| .. | ||
| converters | ||
| __init__.py | ||
| _schemas.py | ||
| convert.py | ||
| debug_data.py | ||
| download.py | ||
| evaluate.py | ||
| info.py | ||
| init_model.py | ||
| link.py | ||
| package.py | ||
| pretrain.py | ||
| profile.py | ||
| train.py | ||
| validate.py | ||