/Learning_foreign_words_app

Simple application created to learn foreigns worlds in πŸ‡ΊπŸ‡Έ πŸ‡«πŸ‡·πŸ‡©πŸ‡ͺ Running via terminal

Primary LanguagePython

πŸ‘¨β€πŸ’» Built with

Descripction about project

Simple application created to learn foreigns worlds. Running via terminal, using API to connect GoogleTranslateAPI to translate polish words. Before use you need to reginster on link: https://rapidapi.com/googlecloud/api/google-translate1 to get:

  • API key from API endpoint

🌲 Project tree

.
β”œβ”€β”€ Dockerfile           # to create image.
β”œβ”€β”€ README.md
β”œβ”€β”€ apk.py 
β”œβ”€β”€ dictionary.xlsx      # xlsx with polish words to transalte, collected in 4 categories.
└── requirements.txt     # necessary libraries.

βš™οΈ Run Locally

Clone the project

Go to the project directory and open terminal: Type in CLI:

  $ ls

You should see this:

Dockerfile   README.md	  apk.py	  dictionary.xlsx	  requirements.txt

Open Dockerfile and fill ENV value with value mentioned in description:

ENV API_KEY=

Build application image: 🚨to run this command docker should be running on your machine🚨

  $ docker build -t <your_image_name> .     

Run docker application container:

  $ docker run -it --name <your_container_name> <your_image_name>     

Future updates?πŸ†•:

  • letting choose a language source not only target.
  • adding more languages.
  • finding way to allow ASCII latin-2 with Google Translate API.
  • creating SQLserwer to connect for bigger base of words (now words are captured from xlsx file).
  • allow to choose categories, now category is randomly choosen from given 4.