Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

en_audio2text-soumyade-0.0.1.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

en_audio2text_soumyade-0.0.1.2-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page