Git Product home page Git Product logo

camdict-cli's Introduction

20240116,大学倒数第二次英语考试,即兴有了想法做一个词典; 剑桥词典一直是我最喜欢的词典,没有找到网上大神做的本地词典,所以想做个更方便一点的命令行版; rust 入门项目,代码质量不佳,欢迎PR

英文版说明:

安装 / 更新

bash -c "$(curl -fsSL https://github.com/xwxb/camdict-cli/raw/main/install.sh)"

使用 (Find by CambrigeDict)

fcd [word] | [phrase]

默认展示三条释义,-a 参数全部展开,-n 参数指定具体数目

其他

灵感和参考致谢

TODO

  • 优化执行速度
  • 增强鲁棒性,尽量不报 rust 内部的错误:网络错误处理、
  • 中文反查
  • 模糊搜索
  • 最近搜索
  • 添加英文文档

暂时感觉没必要做,有需求可以提一下具体使用场景

  • 词型处理?暂时没想到规则是什么,目前情况是存在对应词型,有些是确实查不到需要处理
  • 查询缓存
  • 交互模式

camdict-cli's People

Contributors

xwxb avatar

Stargazers

 avatar Zoee 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.