SeqScore: Scoring for named entity recognition and other sequence labeling tasks
Normal installation: pip install seqscore
If you need to install from a copy of this repository, use: pip install -e .
For a list of commands, run seqscore --help
.
Some examples:
seqscore score prediction_conll_file --reference reference_conll_file
seqscore validate encoding input_conll_file
seqscore dump encoding input_conll_file output_delim_file
Scoring only supports BIO chunk encoding. Validation can be done for IO, BIO, and BIOES.
At the moment, dump
only supports BIO, but support will be added for IO and BIOES.
- More documentation
- Conversion between encodings (e.g. BIO<->BIOES)
- More error analysis tools
- Create environment:
conda create -y -n seqscore python=3.8
- Activate the environment:
conda activate seqscore
- Install dependencies:
pip install -r requirements.txt
- Install seqscore:
pip install -e .