This terminal app is designed to help you practice numbers in foreign languages. It uses Google Text To Speech API.
Below demos are just GIFs without sound!
It let's hear a number from a range and type what you heard to check if you understood correctly.
It gives a random number from a range and you have to say it out loud on your own. Type c
to check hear the correct pronunciation.
To install the dependencies, run:
pip install -r requirements.txt
To start the program, run:
python3 just-learn-numbers.py
The program will prompt you to enter a range of numbers to practice. You can enter a specific range (e.g. 1-10), or enter "all" to practice all numbers up to 1 billion.
The program will start presenting you with random numbers in the range you specified. You'll be prompted to enter the correct number in the target language. If you get the answer correct, the program will play a sound and show the next number. If you get the answer wrong, the correct answer will be displayed and you'll be given another chance to answer.
This program uses the following libraries:
- PyInquirer
- gTTS
- pydub
- get
_lang
variable from user input instead of being hardcoded - add support for versions newer than python 3.9
This project is licensed under the MIT License. See the LICENSE file for details.