TranscribeASR
TranscribeASR (TASR, pronounced "Tay-ser") is a simple CLI based on ASR technology, focused on quickly and accurately converting audio files into text, helping users improve their work efficiency.
Installation
Install via pip:
pip install tasr
Dependencies
Install dependencies:
pip install -r requirements.txt
Install Demucs (Optional, only required for noise reduction):
pip install demucs
Usage
Basic Usage
tasr --input <audio_file_path> [--output <output_text_file_path>] [--language <language>] [--denoise]
| Parameter | Required | Description |
|---|---|---|
--input |
Yes | Path to the input audio file. |
--output |
No | Path to the output text file. If not specified, it defaults to the same name as the input audio file with a .txt extension. |
--language |
No | Specify the language for recognition (e.g., 'en', 'zh', 'yue', 'ja', 'ko'). Default is 'auto' (automatic detection). |
--denoise |
No | Whether to perform noise reduction on the audio. Disabled by default. |
Examples
Basic Speech Recognition
Perform speech recognition on the audio file example.wav and save the result as example.txt:
tasr --input example.wav
Specify Output File
Perform speech recognition on the audio file example.wav and save the result as output.txt:
python cli.py --input example.wav --output output.txt
Notes
Supported audio formats depend on the capabilities of soundfile and demucs, typically including .wav, .flac, .mp3, etc.
For best results with noise reduction, it is recommended to use .wav format.
Metadata
Release files for tasr 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 | Actions |
|---|---|---|---|---|
| tasr-0.1.0.tar.gz | 7.4 kB | Without provenance | Details for tasr-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tasr-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for tasr-0.1.0-py3-none-any.whl |
Total release size: 15.3 kB
Release files / tasr-0.1.0.tar.gz
| Download URL | tasr-0.1.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60738b5964375b4a6ed6614ab59477326ef996bee740203808d755b4c6573e7f
|
|
BLAKE2b-256 checksum How to use checksums |
c1595d26b8fde97e9a1d33ebf71a405115ac65756bf3dbc962283b285f7a0d6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.16
|
Release files / tasr-0.1.0-py3-none-any.whl
| Download URL | tasr-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a6fda0445c77244c6658acb33c9658ec0b676ce911a73d205046dde69f806d2
|
|
BLAKE2b-256 checksum How to use checksums |
5f83473e51568d654a3230716311d0de1385e41aaf573e25222a77ee5304f056
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.16
|
Security for tasr 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.