Skip to content

hope51607/realtime_pdf_translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Realtime PDF Translate

即時 PDF 翻譯

Dependency

  • Windows
  • python3
  • pypiwin32
  • selenium
  • pynput

How To Use

  1. Install dependencies

    pip install pypiwin32 selenium pynput
  2. Edit source code line 11 to use your prefer browser

    • default is my prefer browser: new Microsft Edge
  3. Make sure your browser driver is in your environment path

    • You can find more information from here
  4. Run script

    python realtime_pdf_translate.py
  5. Copy pdf text and enjoy

Demo

Demo

說穿了就是自動幫你做下列步驟

  1. 用 selenium 打開 google 翻譯
  2. 按下 ctrl+c 時自動把 windows 剪貼簿裡的換行刪掉
  3. 把結果丟到 google 翻譯

期末報告要報 paper,對英文苦手來說真的是生不如死, 論文 pdf 複製的文字下來會一堆換行, 丟翻譯就會翻得很怪, 手動去掉換行實在太麻煩了, 就寫了這個來逃避現實中 QQ

About

即時PDF翻譯

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages