Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

SpeechBrain Lang Detect

An audio transformer plugin for OpenVoiceOS. It detects the spoken language of an audio signal using a SpeechBrain classifier, before speech-to-text runs.

Supported models

The plugin loads any of these SpeechBrain models from Hugging Face:

Install

pip install ovos-audio-transformer-plugin-speechbrain-langdetect

Usage

Add the plugin to the audio_transformers section of your listener config. Set model to any of the SpeechBrain models listed above.

"listener": {
    "audio_transformers": {
        "ovos-audio-transformer-plugin-speechbrain-langdetect": {
            "model": "speechbrain/lang-id-commonlanguage_ecapa"
        }
    }
}

Set use_cuda to true to run the classifier on a CUDA GPU instead of the CPU.

The plugin only classifies the language when more than one language is listed as valid. If a single language is configured, it skips classification and returns that language directly.

License

Apache-2.0

Metadata

Release files for ovos-audio-transformer-plugin-speechbrain-langdetect 0.0.3a1

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

Source distribution (sdist)

Source distribution for ovos-audio-transformer-plugin-speechbrain-langdetect 0.0.3a1
File Size Uploaded
ovos_audio_transformer_plugin_speechbrain_langdetect-0.0.3a1.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-audio-transformer-plugin-speechbrain-langdetect 0.0.3a1
File Interpreter ABI Platform
ovos_audio_transformer_plugin_speechbrain_langdetect-0.0.3a1-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / ovos_audio_transformer_plugin_speechbrain_langdetect-0.0.3a1.tar.gz

Download URL ovos_audio_transformer_plugin_speechbrain_langdetect-0.0.3a1.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e1b587e7c5b6aaa696010aadd0b5a7c50cb676d4a4051a0b19e357b6191b9a35
BLAKE2b-256 checksum
How to use checksums
ccd239064afcf8a003e1669227de4e0dd07f8fdcbef9cd8b16595d142c7e475c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_audio_transformer_plugin_speechbrain_langdetect-0.0.3a1-py3-none-any.whl

Download URL ovos_audio_transformer_plugin_speechbrain_langdetect-0.0.3a1-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
323da6b10567836d93267950d8b192beb38e1d897e6cc04d53b2e342f68336d9
BLAKE2b-256 checksum
How to use checksums
54833658a7980ce526a8220f59734dd513b71cc9457973b00684bc67560cd714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
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