Python Thai ASR
Project description
pythaiasr
Python Thai ASR
I made a simple python package for Thai ASR. I used model from chompk/wav2vec2-large-xlsr-thai-tokenized.
Google Colab: Link Google colab
Install
pip install -e .
Usage
from pythaiasr import asr
file = "a.wav"
print(asr(file))
API
asr(file: str, show_pad: bool = False)
- file: path of sound file
- show_pad: show [PAD] in output
- return: thai text from ASR
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pythaiasr-0.1.tar.gz
(2.5 kB
view hashes)