SonusAI ASR Sensory
Sensory tools for SonusAI.
This package integrates Sensory ASR inference into SonusAI-compatible workflows.
Key Features
- Sensory ASR Integration: Runs
snsr-evalagainst 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)
uvsnsr-evalinstalled and available onPATH- A Sensory model available under your Sensory installation
model/directory
Install Dependencies
uv sync
Run Tests
uv run pytest
Documentation
- Agent Guidelines: AI project context, workflows, and quality rules.
- Project Overview: Technology stack and package entry points.
- Architecture: Sensory execution flow and SonusAI integration details.
- CLI & Validation Commands: Common local development commands.
- Standards: Linting, formatting, and testing requirements.
- Directory Map: High-level layout of this repository.
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 tostt-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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|