Skip to content

jaevibing/French-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

French-Translator

An on-the-fly french translator application.

What does what?

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

How to install?

  1. 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)
  2. Go to your terminal and try cd French-Translator
  3. 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.

  1. Run the command python entofr.py (entofr.py can be swapped with any other script in this repository)
  2. Enjoy :)

Note: there is a file needed to run the program correctly, please message me on Discord (Untitled Goose#3236) for the file required.