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.1.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

speech_metrics-0.2.1-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speech_metrics-0.2.1.tar.gz
  • Upload date:
  • Size: 35.7 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.1.tar.gz
Algorithm Hash digest
SHA256 e61643ea10b2828f2acd5ed8be1a4413bf3ac8c66ac37e0a92527eb428618a42
MD5 2171d3eec09e3c1ef01057cbb936ac28
BLAKE2b-256 1102181e2f9a934a3a44fe7349a197604e42691ec14bca23b7ff62238f7f7a44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for speech_metrics-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8860af4a517eeed7ebd010c393a7a0c599f9e0d009cfc4e0494a4bf71342950a
MD5 a42e88be58d76b88c82877ddd29a600c
BLAKE2b-256 6ee22547da0c77ebff71c1643ad6512315a77491ce21b15edec0ff0ba3b59062

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