Skip to main content

SeqScore: Scoring for named entity recognition and other sequence labeling tasks

Project description

SeqScore

SeqScore: Scoring for named entity recognition and other sequence labeling tasks

Installation

Normal installation: pip install seqscore

If you need to install from a copy of this repository, use: pip install -e .

Usage

Overview

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.

Features coming soon!

  • More documentation
  • Conversion between encodings (e.g. BIO<->BIOES)
  • More error analysis tools

Setting up for development

  1. Create environment: conda create -y -n seqscore python=3.8
  2. Activate the environment: conda activate seqscore
  3. Install dependencies: pip install -r requirements.txt
  4. Install seqscore: pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seqscore-0.2.1.tar.gz (12.7 kB view hashes)

Uploaded Source

Built Distribution

seqscore-0.2.1-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page