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-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.
- Refactoring Guidelines: AI-oriented implementation guardrails.
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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa56620cdb7c577146bcbfa26c5c880d7214993f6346611c15af301824484448
|
|
| MD5 |
b2caf6bc1a4282505387022c940cb662
|
|
| BLAKE2b-256 |
793afb1693779c5c042e50b3eafec1f5c32859b56e23822ab3cca81901ecb196
|