Giter Site home page Giter Site logo

techventurebuilder / ai-vocabulary-builder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piglei/ai-vocabulary-builder

0.0 0.0 0.0 161 KB

一个使用了 AI 技术的智能生词本制作工具。

License: BSD 3-Clause "New" or "Revised" License

Python 99.59% Makefile 0.41%

ai-vocabulary-builder's Introduction

AI 生词本

AI 生词本(“AI Vocabulary Builder” 简称 aivoc)是一个利用了 AI 技术的智能生词本工具,可以帮你快速构建起自己的生词库,学习起来事半功倍。

学习一门语言,生词本是一个非常重要的工具。一个内容优秀的生词本,至少需要包含:生词、释义、例句、例句释义这些内容。但是,手动维护这些内容非常麻烦,因此大部分人都没有自己的生词本。阅读时碰见生词,常常查过词典,转头就忘。

aivoc 尝试着使用 ChatGPT 的能力,将生词本的维护成本降到最低,让每人都可以拥有自己的生词本。

使用 aivoc,每当你读到一句包含了生词的句子时,只要将其原样输入到 aivoc 工具中,便可以获得:

  • 整句话的全文翻译
  • 由 AI 提取出的生词及释义
  • 一个免维护的全自动生词本表格

image

↑ 交互式使用界面

image

↑ 使用 numbers 打开生词库表格(使用 CSV 纯文本格式,方便二次处理)

快速开始

使用 pip 来安装本工具:

# 需要 Python 版本 3.7 及以上
$ pip install ai-vocabulary-builder

完成后,在环境变量设置好你的 OpenAI API key

# 使用你在 OpenAI 官网上申请到的 key 替换该内容
$ export OPENAI_API_KEY='your_api_key'

一切就绪,之后执行 aivoc 启动工具,进入交互翻译模式。

执行 aivoc --help 查看更多帮助。

TODO

ai-vocabulary-builder's People

Contributors

piglei 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.