Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Phrasenerkenner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Conrad Dobberstein
Phrasenerkenner
Commits
d5f5bdc6
Commit
d5f5bdc6
authored
3 years ago
by
Conrad Dobberstein
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
52ebee13
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+68
-1
68 additions, 1 deletion
README.md
with
68 additions
and
1 deletion
README.md
+
68
−
1
View file @
d5f5bdc6
# Phrasenerkenner
https://www1.dict.cc/translation_file_request.php?l=e
## Setup
1.
Run
`pip install -r requirements.txt`
from the project root folder.
2.
Download the
`DE -> EN (tab-delimited, UTF8)`
[
dictionary file
](
https://www1.dict.cc/translation_file_request.php?l=e
)
from dict.cc.
3.
Unzip the downloaded archive and rename its content dictionary file to
`de-en.txt`
.
4.
Move the dictionary file into the
`resources/dictionary`
folder.
5.
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.
1.
Download the desired language
[
dictionary file
](
https://www1.dict.cc/translation_file_request.php?l=e
)
from dict.cc.
**The origin language is required to be German.**
2.
Unzip the downloaded archive and rename the content dictionary file to
`de-target_language_code.txt`
.
Substitute
`target_language_code`
with the corresponding target language code.
A ist of valid language codes is specified in the "Language Codes" section.
3.
Move the dictionary file into the
`resources/dictionary`
folder.
4.
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 |
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment