The programme "translator" created for analysing and translating English text (for example subtitles, books and etc.). It return the count of word, word and translate. For example:
12 : from от
12 : look выглядеть
12 : reese none
11 : gonna собираться
11 : were быть
11 : will буду
Planned as a program assistant for English language learning
For translate english words used " Yandex dictionary API" for more information about it https://tech.yandex.ru/dictionary/
Get Yandex dictionary token, and replace :
token = "YOU YANDEX TRANSLATE TOKEN"
to it at translator.py Save english text in file and replace
file = "FILE WITH ENGLISH TEXT"
to path of file. Run translator.py