MSTT FunASR Plugin
This repository contains the mstt-funasr plugin for the Modern Speech-to-Text (MSTT) library. This plugin provides integration with the FunASR models, allowing MSTT to leverage FunASR's capabilities for high-performance speech-to-text transcription.
Features
- Integrates FunASR models with the MSTT unified API.
- Supports various FunASR models for different languages and tasks.
- Provides efficient and accurate speech transcription.
Installation
To use this plugin, you need to have MSTT installed first. Then, you can install mstt-funasr using pip:
pip install mstt-funasr
This will also install the necessary funasr library as a dependency.
Usage
Once installed, the funasr model will be automatically available through the MSTT library. You can use it by specifying model_id="<funasr_model>" when initializing the MSTT client, <funasr_model> can be one of:
- funasr/iic/SenseVoiceSmall
- sensevoice_small
- funasr/iic/speech_paraformer-large-vad-punc_asr_nat-zh-cn-16k-common-vocab8404-pytorch
- paraformer-zh
- funasr/iic/speech_paraformer-large-vad-punc_asr_nat-en-16k-common-vocab10020
- paraformer-en
- funasr/iic/speech_conformer_asr-en-16k-vocab4199-pytorch
- conformer-en
- funasr/iic/Whisper-large-v3
- whisper-large-v3
- funasr/iic/Whisper-large-v3-turbo
- whisper-large-v3-turbo
from mstt import get_model
asr_model = get_model("<funasr_model>")
result = asr_model.transcribe("path/to/your/audio.wav")
Example with CLI
You can also use the funasr model via the MSTT command-line interface:
mstt transcribe --model <funasr_model> path/to/your/audio.wav
Contributing
Contributions to the mstt-funasr plugin are welcome! Please refer to the main MSTT repository's contributing guidelines for more information.
License
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.
Metadata
Release files for mstt-funasr 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mstt_funasr-0.1.0.tar.gz | 3.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mstt_funasr-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / mstt_funasr-0.1.0.tar.gz
| Download URL | mstt_funasr-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d595ed6870d0f94d7c7bd2a7cdf0e962938d2e324a203155cfe728e5fd6af24
|
|
BLAKE2b-256 checksum How to use checksums |
172469f293a0e69d4cf82f856174a3e01ca9ee1e49b18efc328579b934f72225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / mstt_funasr-0.1.0-py3-none-any.whl
| Download URL | mstt_funasr-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
277454b00ad3aac88b784710e5e621019bc31504d86ed79487c8455a8d6e3a3b
|
|
BLAKE2b-256 checksum How to use checksums |
d11a43340490ea910bc06113824e78c92dd1200185d78e637dcc3cab4de86912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Security for mstt-funasr 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.