Giter VIP home page Giter VIP logo

ecdict's Introduction

ecdict

Gem Version

gem install ecdict

📚 ecdict dictionary (Ruby Powered)

screencast

命令行端的离线词典ecdict,提供中英文双模式查询,支持REPL交互式查询,安装仅需要一个命令,其过程不需要外网。数据源包含340万单词,由项目skywind3000/ECDICT提供。支持 Linux,Windows,macOS.

若您有新的想法,发现了存在的/潜在的问题、可改善的地方(比如对REPL的交互性优化),又或者您想要参与开发以及日常维护,请您在issues 处反馈,并请阅读CONTRIBUTING.md

参考


安装

gem install ecdict

依赖

  • Ruby
  • SQLite3

若Windows上安装gem sqlite3失败,请翻到最下方查看解决方法


使用

ecdict: A courteous cli translator.

usage:

  ecdict word      => 查询单词word
  ecdict -r        => 启动ecdict repl交互式查询,输入exit或Ctrl-C/D退出
  ecdict -c  中文  => 搜索中文单词对应的英文单词/短语
  ecdict -i        => 下载ecdict词典数据并安装
  ecdict -v        => 打印此Gem版本号
  ecdict -h        => 打印此帮助
  ecdict -d        => 清空词典数据


Troubleshoot

Windows下安装 Gem sqlite3 失败

  • 下载安装sqlite源代码 sqlite-amalgamation-xxxx.zip 解压到某文件夹如D:\sqlite-src.
  • 运行 gem install sqlite3 -- --with-sqlite3-lib=D:\sqlite-src

ecdict's People

Contributors

ccmywish avatar

Stargazers

 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.