Socket
Socket
Sign inDemoInstall

cli-dict-x

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cli-dict-x

A commad line dictionary use node js, use api from Youdao.


Version published
Weekly downloads
1
decreased by-83.33%
Maintainers
1
Install size
56.3 kB
Created
Weekly downloads
 

Readme

Source

dict

一个命令行翻译工具,调用有道智云接口

要使用此工具,你需要一个有道智云的账户。首次运行此程序时会要求填入有道智云的 appSecret 和 appKey。

首次运行

  1. 注册并登录有道智云
  2. 应用管理 > 我的应用 > 创建应用 创建一个应用
    • 应用名称:命令行翻译应用
    • 应用类别: 效率办公
    • 应用平台: API
  3. 自然语言翻译 > 翻译实例 > 创建实例
    • 实例名称: 命令行翻译实例
    • 实例类型: 文本翻译
  4. 自然语言翻译 > 翻译实例 > 命令行翻译实例 > 操作 > 绑定应用
    • 选择刚创建的应用 > 提交更改
  5. 应用管理 > 我的应用 > 应用名称:命令行翻译应用
    • 复制 "应用ID" 和 "应用密钥"
  6. 在命令行输入 dict 启动应用
    • 在 appSecret 中填入应用密钥
    • 在 appKey 中填入应用ID

支持的语言与语言代码对应表

语言代码
中文zh-CHS
日文ja
英文EN
韩文ko
法文fr
俄文ru
葡萄牙文pt
西班牙文es
越南文vi

Keywords

FAQs

Last updated on 09 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc