Bwca / app_wordlist-translator

Feed it a list of words in foreign language and get a list of their translations with transcriptions. Should be useful for lazy people like me who are very reluctant when it comes to looking up unknown foreign words.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wordlist-translator

Feed it a list of words in foreign language and get a list of their translations with transcriptions. Should be useful for lazy people like me who are very reluctant when it comes to looking up unknown foreign words.

Install dependencies with pip:

pip install -r requirements.txt

Then invoke the translator with the following command:

python3 ./wordlist_translator/ -m

Provide a path to a file with words to translate into Russian, translated results will be stored as json in the results folder. The file with the word list to be translated should contain words separated by news lines, i.e. each word must be on a new line.

Results are fetched from multitran.ru, user-submitted subjects and translations are filtered out due to them often being inaccurate and of questionable accuracy.

About

Feed it a list of words in foreign language and get a list of their translations with transcriptions. Should be useful for lazy people like me who are very reluctant when it comes to looking up unknown foreign words.

License:MIT License


Languages

Language:Python 100.0%