Giter Club home page Giter Club logo

realtime_pdf_translate's Introduction

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

realtime_pdf_translate's People

Contributors

hope51607 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.