Skip to content

The translator get text and return count of words and them translate

Notifications You must be signed in to change notification settings

RomanRybka/translator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

translator

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

technology

For translate english words used " Yandex dictionary API" for more information about it https://tech.yandex.ru/dictionary/

run translator

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

About

The translator get text and return count of words and them translate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%