Skip to main content

A lightweight package for common metrics in speech processing

Project description

Speech Metrics

This package includes the common metrics used in speech processing, especially compatible with SUPERB: Speech processing Universal PERformance Benchmark. The motivation of this package is to make metric calculation disentangled from S3PRL, whose codebase and package are both too heavyweight for metric calculation. Also, some metrics in S3PRL require traditional speech processing file format (e.g. RTTM and DER) which is less pythonic and user-friendly nowadays. As a result, this package aims to extract the core logic from the existing codebases and provide a standalone python package with minimal dependencies, so that it can be used everywhere easily.

Supported Metrics

  • WER
  • CER
  • PER
  • DER
  • PESQ
  • STOI
  • SISDRi
  • SacreBLEU
  • Slot Type F1
  • Slot Value CER

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

speech_metrics-0.2.0.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

speech_metrics-0.2.0-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

Details for the file speech_metrics-0.2.0.tar.gz.

File metadata

  • Download URL: speech_metrics-0.2.0.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.12

File hashes

Hashes for speech_metrics-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6324cae747079db0cf599316d68e086c6af3a5cc4b620d76b86c7e3b7f64b1b8
MD5 c742544b119c3d7796942aa0f5a78b48
BLAKE2b-256 9579224f1a9100c422bac60c4e5db0c72288bddca56a61058cd4428e5892f0a4

See more details on using hashes here.

File details

Details for the file speech_metrics-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for speech_metrics-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d1f74a8df9f8d0af3fc13c51d23651f1bd55cf8986c6d8387db1b594d8ed269
MD5 890a5d36a7e8e978ef2f7b65244dbe7e
BLAKE2b-256 ce20ddb5a2e32dfce70b2e33920a229d3fc3f0604dc9360b2416769b56f69184

See more details on using hashes here.

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