Coder Social home page Coder Social logo

my_dict's Introduction

下载地址

简介

一个词典客户端。支持:

  • 剪贴板取词。
  • OCR取词。
  • 基本的查词功能。
  • 基本的翻译功能。
  • 支持开机自启动。
  • 单文件,双击即可运行。
  • 支持离线词典。

词典界面

zhuchuangkou

zhuchuangkou

剪贴板取词

剪贴板取词

剪贴板取词

OCR取词

英文取词:

grab.png

汉字取词:

grab.png

设置界面

设置界面

下载离线词典

下载词典

生词本

wordbook

review

支持的系统

  • UOS 社区版
  • Ubuntu 20.04

理论上也支持其他Linux发行版,未测试。

源码运行

python3 mydict.py

打包

pip3 install pyinstaller
pip3 install -r requirements.txt
pyinstaller mydict.spec

注意:

  • 第2步有可能会失败。建议先源码运行,报错缺少哪个库就用pip3安装哪个库,这样一个一个地安装成功的概率会高很多。

  • 打包时可能会报某些目录没有执行权限,这会导致打包失败。建议通过chmod给对应的文件加上可执行权限。

感谢

  • 感谢stardict项目,该程序的离线词典使用的该项目的词典。下载地址:http://download.huzheng.org
  • 在线查词和翻译功能使用了有道词典的API,所有权归有道,不晓得是否可以使用,侵删。

开发文档

https://blog.mydata.top/index.php/category/mydict/

my_dict's People

Contributors

xxnull-lsk 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.