Skip to main content

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.

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)

Source distribution for tasr 0.1.0
File Size Uploaded
tasr-0.1.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tasr 0.1.0
File Interpreter ABI Platform
tasr-0.1.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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