CLI project written in Python, which transcribes an audio from mp3 format to a text file.
In this project we use the following python libs:
about-time==3.1.1
alive-progress==2.4.1
grapheme==0.6.0
pydub==0.25.1
SpeechRecognition==3.8.1
Before starting, make sure you've met the following requirements:
- You have installed Python and [Docker].
- You have a
<Windows/Linux/Mac>
machine.
To install, follow these steps:
Linux, macOS and Windows:
git clone https://https://github.com/jmreis/audio-to-text-with-python.git
cd audio-to-text-with-python/
To use, follow these steps:
- Using virtualenv:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python <script_name>.py --<arg_name> <arg_value>
- Using Docker with development environment:
docker build -t <image_name> .
docker run <image_name> python <script_name>.py --<arg_name> <arg_value>
To contribute, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<message_commit>'
- Push to the original branch:
git push origin <project_name> / <local>
- Create the pull request.
Alternatively, see the GitHub documentation at how to create a pull request.