Phrasenerkenner
Setup
-
Run
pip install -r requirements.txt
from the project root folder. -
Download the
DE -> EN (tab-delimited, UTF8)
dictionary file from dict.cc. -
Unzip the downloaded archive and rename its content dictionary file to
de-en.txt
. -
Move the dictionary file into the
resources/dictionary
folder. -
Run
python setup.py
from the project root folder. Overwrite the dictionary database if asked to do so.
Optional: Integrate Other Languages Than English
Note: The German to English dictionary is required regardless of other integrated languages.
-
Download the desired language dictionary file from dict.cc. The origin language is required to be German.
-
Unzip the downloaded archive and rename the content dictionary file to
de-target_language_code.txt
. Substitutetarget_language_code
with the corresponding target language code. A ist of valid language codes is specified in the "Language Codes" section. -
Move the dictionary file into the
resources/dictionary
folder. -
Run
python setup.py
from the project root folder. Overwrite the dictionary database if asked to do so.
Run
-
To start the commandline interface run
python phrasenerkenner.py
from the project root folder. -
To start the GUI application run
python GUI_start.py
from the project root folder.
Language Codes
The following table specifies the supported languages by dict.cc and the Phrasenerkenner.
Language | Language Code |
---|---|
Deutsch | de |
English | en |
Svenska | sv |
Íslenska | is |
Русский | ru |
Română | ro |
Français | fr |
Italiano | it |
Slovenčina | sk |
Português | pt |
Nederlands | nl |
Magyar | hu |
Suomi | fi |
Latina | la |
Español | es |
Български | bg |
Hrvatski | hr |
Norsk | no |
Čeština | cs |
Dansk | da |
Türkçe | tr |
Polski | pl |
Esperanto | eo |
Српски | sr |
Ελληνικά | el |
Босански | bs |
Shqip | sq |