(Oversette + leser)
This is a small GUI program to read books in foreign languages and to get interactive translations from Google Translate. I made it for my own use.
pyqt5
googletrans==4.0.0-rc1
beautifulsoup4
EbookLib
pdfminer.six
python-docx
pyaudio
gtts
playsound==1.2.2
- Open files and display them as raw text, supported formats:
- .txt, encoding: UTF-8
- .epub
- .pdf (beware: some pdfs are too heavy or contain images instead of OCR)
- .docx
- Save currently opened file, chosen language, cursor position and font size
- Increase and decrease font size
- Convert supported formats to .txt and store in "books" folder
- Read words and sentences aloud
- You may choose source language out of ~ 15 languages
- Destination language will be most probably English
- There is a note area where you can write your notes - they get saved with the rest
- You can create automatic dictionaries and add your words
- The dictionary can be viewed in a separate window or printed as txt file
- You may copy selected text and paste it anywhere you want
- There are hotkeys!
- run under MacOS. I hate macs, there will be no support ever
- open .djvu and .pdf with pics. I would have to do OCR for that...
- change font family (I was too lazy to find out how to add custom fonts, but I may do so in future)
- open .doc (who the f*ck uses .doc nowadays? Oh, and .rtf too, convert them yourselves)
I dunno, I'm too lazy
v.1.30 - added gTTS voiceover
v.1.20 - added dictionaries
v.1.10 - added note area
v.1.00 - added the ability to remember window size; added background to text window; added custom font (you can't change it)
v.0.95 - fixed the bug with failed formats, made the window resizeable