Code for the Telegram bot Dodiom.
Create a new bot using BotFather, get its token and put it in docker/english/docker-compose.yml
, also put "1" for moderator id there (you can change this with your own Telegram ID after you find it) and then run
cd docker/english
docker-compose build # might take some time
docker-compose up -d
docker-compose down
docker-compose up -d # restart second time for initial data changes to be applied
You can put your own idioms in docker/english/idioms.json
.
You can see the Database in http://localhost:8080 and logs in http://localhost:5341 after starting the bot.
If you use Dodiom in a scientific publication, please kindly cite Gamified Crowdsourcing for Idiom Corpora Construction article published in Natural Language Engineering, Cambridge Press.
@article{eryigit2021gamified,
title={Gamified Crowdsourcing for Idiom Corpora Construction},
author={Gülşen Eryiğit and Ali Şentaş and Johanna Monti},
year={2022},
eprint={2102.00881},
archivePrefix={arXiv},
primaryClass={cs.CL},
notes={accepted for publication in Natural Language Engineering}
}
GNU General Public License v3.0 or later
See COPYING
to see the full text.