New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

CBDict

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

CBDict

This program monitors the clipboard of the system and translate the word from English to Chinese by YouDao api, especially designed for Students who are working under linux environment where there is no simple translater when you reading papers.

  • 2.0
  • PyPI
  • Socket score

Maintainers
1

ClipBoardDictionary

This program monitors the clipboard of the system and translate the word from English to Chinese by YouDao api, especially designed for Students who are working under linux environment where there is no simple translater when you reading papers.

项目起源

本人即将成为一名Ph.D,现在在看一些关于强化学习,深度学习,机器学习,控制理论等方面的英文文献,经常会有一些单词不认识.

虽然市面上很多优秀的翻译软件都已经集成了屏幕取词的功能,例如有道词典.但是由于我操作系统或者驱动等一些问题(本人的开发环境为Manjaro),安装了有道词典之后,我无法使用屏幕取词功能,每次都需要复制到网页中查询.

每次切换到浏览器再切换回pdf阅读器,十分影响阅读体验.因此,我写了这么一个小玩具,能够监控剪贴板中的内容,并且自动使用有道词典的api来进行翻译.将结果输出到终端中.

本玩具纯粹是为了方便我读paper.不喜勿喷.

使用教程

STEP1 : 安装依赖的包,用于访问剪贴板中的内容

sudo apt install xclip

STEP2 : 在终端中输入以下命令来安装CBDict

pip install CBDict

STEP3 : 在终端中输入CBDict来启动词典

CBDict

STEP4 : 复制任何你想翻译的内容,翻译的结果会呈现在终端中.

使用实例

demo

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc