一個極具極客範的命令行翻譯工具jadetrans

JadeTrans Logo

A very geeky command line translation tool.

Build Status MIT licensed Coverage Status Go Report Card

JadeTrans Usage

Features

  • Chinese <=> English
  • Speech
  • Others language support
  • Google translation engine

Installation

Go


go get -u github.com/archervanderwaal/jadetrans

jadetrans -h

Usage

Configuration

cd $HOME/.jadetrans
vim jadetrans.yaml
# add appKey and appSecret to jadetrans.yaml
# exp:
# youdao:
#   appKey: 
#   appSecret: 

If you don’t have appKey and appSecret translated by youdao, go here and learn how to get appkey and appsecret translated by youdao.

Query

jadetrans <words>

Select engine

jadetrans <words> -e=youdao

Speech

jadetrans <words> -voice=1
#or
jadetrans <words> -voice=0
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章