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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: speech_metrics-0.2.2.tar.gz
  • Upload date:
  • Size: 35.8 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.2.tar.gz
Algorithm Hash digest
SHA256 1dc5b54d088f0a20a484865a99f863a80711833743c2dc558ae7421a4ef2c9de
MD5 0915870cff58b6ad35aa28de5c277010
BLAKE2b-256 54a92fc4a6b21dcb1b1d2b382e2e8af09da0bec9585c91c0afc74caf0fcf8715

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for speech_metrics-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 12e23921f567b9d7727bb00e5987828e31966725a1105feee49468ea4994e6cf
MD5 bf2e86326059e5c4e8cf7c6b153a68c8
BLAKE2b-256 f468496f7b9d9ea0353b8f7f9126cc42bfd5101dc77292b334b8db8d5b4a14ed

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