LoginSignup
6
6

More than 1 year has passed since last update.

Zotero内でDeepLやWeblioを使用する

Posted at

Zotero内からDeepL翻訳をかけてみた

先日Mendeley公式からののレガシーなデスクトップソフトのダウンロードが停止され,オープンソースであるZoteroに乗り換えた.環境構築を勧めていくなか,ZoteroからDeepL翻訳を行うことができるアドオンが公開されていることを知ったため,備忘録として導入方法を記す.

Discovering faster matrix multiplication algorithms with reinforcement learning - Fawzi et al. - 2022 - Zotero 10_24_2022 9_50_12 PM.png
こんなのができる.

前提条件

Zoteroの導入方法などは下記が参考になる.どのOSでも動作すると思われるが,想定OSはWindoswsである.

zotero-pdf-translateの導入

使用するアドオンはzotero-pdf-translateである.GitHubからReleaseページへ飛び,zotero-pdf-translate.xpiをダウンロードする.

アドオンのインストール

  1. Zoteroを開き,ToolsAdd-onsをクリックする.
    Screenshot (1).png

  2. 歯車のアイコンからInstall Add-on From File...をクリックし,先程ダウンロードしたファイルを選択する.
    Screenshot (2).png

  3. 再起動して任意のファイルを開き,Translate枠が増えていることを確認する.
    Screenshot (3).png

DeepL APIの登録

Defaultでは,Google翻訳が選択されている.論文読解では,個人的にはDeepLの方が便利であるため,文章の翻訳をdefaultでDeepLとなるように変更する.DeepLでは,APIを使用するため,ユーザー登録が必要である.

  1. DeepL APIからアカウントを作成する(月500,000字まではFree版で利用できる).

  2. DeepL accountタブにAuthentication Key for DeepL APIが発行されているので,こちらをコピーする.

  3. EditPreferencesに移動する.
    Screenshot (4).png

  4. Translate EngineDeepL (Free)*に,Secretに先程コピーしたキーを貼り付ける.
    Screenshot (5).png

  5. Dictionary Engineはお好みで変更する(ここでは`weblio (en<->ja)').

  6. 文章を選択すると,DeepLで翻訳ができるようになる.
    Discovering faster matrix multiplication algorithms with reinforcement learning - Fawzi et al. - 2022 - Zotero 10_29_2022 5_15_08 PM.png

  7. 単語を選択すると,Weblioで検索ができる.
    Discovering faster matrix multiplication algorithms with reinforcement learning - Fawzi et al. - 2022 - Zotero 10_29_2022 5_15_22 PM.png

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6