Giter Club home page Giter Club logo

thesis_converter's Introduction

英語論文翻訳のツール

英文の論文を読んでいる際に,確認用に論文をGoogle翻訳に投げたい時,pdfファイルの内容をそのままコピペすると改行があってうまく翻訳されません.
このツールを使い,訳したい論文の内容をコピペすると最終的にHTMLファイルが生成されます.
これをChromeで開くと簡単にGoogle翻訳に投げることができます.
pythonでPyQt5とpyperclipを入れて実行するか,exeファイルがreleaseにあるのでそれを使ってください.

GUI

ペーストでクリップボード上の文章をペーストできます.入力を追加で,表示されている文章を入力できます.改行を挿入空行を挿入で段落などで任意で改行や空行を入れることができます.HTMLの要素を直接記入しても大丈夫です.最終的にHTMLの作成を押すとresult.htmlが作成されプログラムが終了します.
※プログラムを終了したあとにもう一度プログラムを実行しての追記はできません,もう一度実行するとresult.htmlの中身が上書きされます.

HTMLをChromeで開いて以下のように変換してください.

memo

実行可能ファイル生成時のコマンド
pyinstaller thesis_converter.py --onefile --noconsole --icon=icon.ico
これを実行したあとにできたspecファイルのexe= の前の行に
a.datas += [('icon.png','.\\icon.png', 'Data')]
と書き込んで,以下を実行すると実行可能ファイルにicon.pngのデータを含められる.
pyinstaller thesis_converter.spec

thesis_converter's People

Contributors

yagijin avatar

Stargazers

 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.