/hangeulbot

A Telegram Bot for learning hangeul (reading and speaking)

Primary LanguagePython

hangeulbot

Learn Hangeul


Read the full tutorial in my Medium article here.

You can check the bot in here, type /word command to get a word and an audio file.

Prerequisites

You can install all the libraries using this command.

pip install -r requirements.txt

Steps

Preparing Dataset

Before we can use the bot, make sure you run the database.py first so that we have the dictionary.csv and the audio files. Make sure you already set the environment variable GOOGLE_APPLICATION_CREDENTIALS to your credential path.

python database.py

Run the bot

Make sure to change YOUR_BOT_TOKEN in main.py to your bot's token before running the command below.

python main.py