Treng
在命令行翻译英文单词
$ treng cn ruby
n. 红宝石;红宝石色
adj. 红宝石色的
vt. 使带红宝石色
n. (Ruby)人名;(法)吕比;(英、西、德、匈、瑞典)鲁比
由于翻译api大部分都收钱,目前暂时先用爬虫方式取得英文释义
Installation
$ gem install treng
Usage
$ treng cn WORD
License
The gem is available as open source under the terms of the MIT License.