small wrapper around speech recognition package
Project description
en_audio2text
Small module build with the help of speech_recognition package Can be used for getting english transcription from audio via microphone or audio file
The code is written in Python 3
Installation
Fast install:
::
pip install en-audio2text-soumyade
For a manual install get this package:
::
wget https://github.com/cssoumyade/en_audio2text/archive/master.zip
unzip master.zip
rm master.zip
cd en_audio2text-master
Install the package:
::
python setup.py install
Example
.. code:: python
from en_audio2text.aud2text import SpeechRecognizer
#use audio file
sr = SpeechRecognizer(src='file')
sr.act('sample_audio_2.wav')
#use microphone
sr = SpeechRecognizer()
sr.act()
Here is the sample ouput:
Please wait while we transcribe...
'you can not fix the thing that you have made wrong intentionally in the past'
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
Built Distribution
Close
Hashes for en_audio2text-soumyade-0.0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb020ea0d77c92e1c9e50a29f73d89449452a59e84c06ad6416e48c786893eea |
|
MD5 | b6ae18cf0635126f65c62e12c3702340 |
|
BLAKE2b-256 | f3b82e47012f9d671a6da4b5bd8bab2a8edababb8c6049a66cec324ec5950895 |
Close
Hashes for en_audio2text_soumyade-0.0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2bf01cb9115dea2b05065cdcf5407f5d5c6e65224452d449d27a256b04b2c3a |
|
MD5 | bb3d2d3e9e74ba8e0de9fc4ccde486c0 |
|
BLAKE2b-256 | 7d6da5784f2ab350eb6a386549a3cefa5da1ffc1b2e5bfdc6602707ffb1cc03c |