项目作者: YeXiaoRain

项目描述 :
youdao python dictionary-cli and three nodejs dictionary
高级语言: Python
项目地址: git://github.com/YeXiaoRain/DICT.git
创建时间: 2014-06-01T08:42:29Z
项目社区:https://github.com/YeXiaoRain/DICT

开源协议:

下载


DICT

Install

  1. apt install python3 python3-pip git
  2. git clone https://github.com/YeXiaoRain/DICT.git -b python3
  3. pip install --user requirememnts.txt
  4. # edit ~/.bashrc
  5. alias y='python3 <your path>/DICT.py'
  6. # or
  7. alias g='python3 <your path>/googletranslator.py'

Usage

  1. y 你好
  2. y word or sentence
  3. g google 翻译可能需要proxy

Enable OpenapiYoudao

https://ai.youdao.com/创建应用

复制_config.iniconfig.ini并配置你的APP_IDAPP_SECRET

如果没有配置则不会调用OpenapiYoudao

Deps