Skip to main content

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.

Release files for sonusai-asr-sensory 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for sonusai-asr-sensory 1.3.1
File Interpreter ABI Platform
sonusai_asr_sensory-1.3.1-py3-none-any.whl Python 3 none any Details

Release files / sonusai_asr_sensory-1.3.1-py3-none-any.whl

Download URL sonusai_asr_sensory-1.3.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77d5cfc3b8e3a80fe9268509d8dff9f1c7f461534677286500eb1bef8cf46d4f
BLAKE2b-256 checksum
How to use checksums
e3c8f46952d636b0612a327abc7a4507c42487608467b7cc4826b5bb1c61a481
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}

Release history Release notifications | RSS feed

This release

1.3.1 This release

1 release file

1.3.0

1 release file

0.2.0

1 release file

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page