Skip to content

yonitoo/Enhanced-BG-gastronomy-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enhanced-BG-gastronomy-translator

Overview

This project is focused on the domain of gastronomy. Its purpose is to enhance the translation of some Bulgarian cuisine-related terms by not just transliterating them into English. Instead, we are explaining them in order to give the foreigners a brief idea what the dish looks like.

Motivation

Most of the restaurants in Bulgaria, especially local, traditional ones, don't offer English menu. Many of the ones that do, just mention the names of some typical Bulgarian dishes and do not provide details. Therefore, a foreigner would have to search online or ask someone for the description of each dish. This is where the motivation for this project comes for - to help the tourists and not only them to navigate better when going to the restaurant.

High-Level Diagram

High-Level Diagram

Dependencies

MediaWiki Action API: https://www.mediawiki.org/wiki/API:Main_page

BulStem: https://pypi.org/project/bulstem/

Nakov, P. BulStem: Design and evaluation of inflectional stemmer for Bulgarian. In Workshop on
Balkan Language Resources and Tools (Balkan Conference in Informatics).

Install it using pip:

pip install bulstem

The DeepL Translation API: https://www.deepl.com/docs-api/translate-text

How to run it

  • You should create a DeepL account and use your Authentication Key for DeepL API.
export DEEPL_AUTH_KEY=<YOUR_DEEPL_AUTH_KEY>
  • Run the flask_ui.py script in order to start the UI:
python3 flask_ui.py

Example

Example

Inspiration

The way I came up with this project is due to my attendance on the RANLP'23 Conference, held in Varna, Bulgaria. There was one poster paper there which intrigued me:

!Translate: When You Cannot Cook Up a Translation, Explain (Garcea et al., RANLP 2023)

They create a more complex solution for Italian gastronomy. Inspired by them, I decided to create an alternative for the Bulgarian gastronomy.

Where would I submit it

This is a university project for the NLP course that is part of my Master's degree in FMI@Sofia University.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages