Wisdom is a multilingual proverbs compiler designed to work across five languages: French, English, Spanish, Italian, and Moroccan dialect (Darija). Leveraging lex and yacc, the project configures and processes the lexical, syntactic, and semantic aspects of each proverb and then it employs helper functions (helper_functions.py) and a proverbs object (proverbs_dictionary) to facilitate the equivalent in the meaning (not word to word translation) of proverbs across other cultures.
The user interface is crafted using tkinter, chosen for its resemblance to a chat application, enhancing user appeal and friendliness.
- Install the required packages listed in the requirements.txt
pip install -r requirements.txt
- Navigate to the GUI directory:
cd gui
- Run the app.py file:
python3 app.py
- Open the proverbs_dictionary file.
- Inside the proverbs object, enter any proverb you'd like to test.
- Run the application using the instructions provided earlier.
- If the entered proverb is recognized and correct:
- The application will return an "OK" message spoken by the native language speaker.
- It will also display the equivalents of the proverb in other languages.
- In case the proverb is incorrect or not recognized:
- The native speaker will suggest the closest available proverb.
- You can input the proverb by typing it into the provided field and clicking "Send".
- Alternatively, you can utilize the microphone icon to activate the audio feature and speak the proverb aloud.
- OK by typing:

- OK by audio:

- What's in the terminal - Display the object recieve to display the situation(correct or wrong proverb, equivalents and the original proverb):

- Wrong proverbs:

This project was done by: Oubayhe, karraamine, Mouadspace, MedBenali0