An on-the-fly french translator application.
frtoen.py takes French and outputs in English
frtoenfile.py takes a file that has French speech and outputs in English. (Note: this file does not work yet)
entofr.py takes English and outputs in French
entofrtext.py takes English text input and outputs in French
- Run the command
git clone https://github.com/jack-debug/French-Translator.git
(if on Windows, use the software Git Bash to run this command) (DO NOT DOWNLOAD! YOU MUST CLONE FOR THE SCRIPTS TO WORK) - Go to your terminal and try
cd French-Translator
- Run the command
pip install -r requirements.txt
3a. On Mac, you need to install portaudio before pyaudio. Install homebrew with /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
. Then run brew install portaudio
and retry installing pyaudio with pip install pyaudio
3b. On Windows, pyaudio may not install correctly. To fix, try pip install pipwin
then pipwin install pyaudio
.
- Run the command
python entofr.py
(entofr.py can be swapped with any other script in this repository) - Enjoy :)
Note: there is a file needed to run the program correctly, please message me on Discord (Untitled Goose#3236) for the file required.