Skip to main content

Sensory ASR tools for SonusAI

Project description

SonusAI ASR Sensory

Sensory tools for SonusAI.

This package integrates Sensory ASR inference into SonusAI-compatible workflows.

Key Features

  • Sensory ASR Integration: Runs snsr-eval against Sensory acoustic/language models.
  • SonusAI Compatibility: Uses SonusAI datatypes and ASR result conventions.
  • Simple Function Interface: Exposes a focused sensory(audio, **config) entrypoint.
  • Package-Friendly Testing: Includes pytest coverage using sample audio fixtures.

Getting Started

Prerequisites

  • Python 3.13+ (Python 3.13 and 3.14 supported)
  • uv
  • snsr-eval installed and available on PATH
  • A Sensory model available under your Sensory installation model/ directory

Install Dependencies

uv sync

Run Tests

uv run pytest

Documentation

Usage

from sonusai.mixture.audio import read_audio
from sonusai_asr_sensory.asr_functions import sensory

audio = read_audio("tests/data/CA01_01.wav")
result = sensory(audio)
print(result.text)

Optional config keys for sensory include:

  • model: Sensory model folder name (defaults to stt-enUS-automotive-small_medium-2.0.8-BBB-ff.snsr).

Test Coverage Snapshot

Current tests validate end-to-end decoding for the canonical phrase:

  • the birch canoe slid on the smooth planks

as defined in tests/test_sensory.py.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sonusai_asr_sensory-1.3.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file sonusai_asr_sensory-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: sonusai_asr_sensory-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sonusai_asr_sensory-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa56620cdb7c577146bcbfa26c5c880d7214993f6346611c15af301824484448
MD5 b2caf6bc1a4282505387022c940cb662
BLAKE2b-256 793afb1693779c5c042e50b3eafec1f5c32859b56e23822ab3cca81901ecb196

See more details on using hashes here.

Supported by

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