A translate tool in your command line, inspired by Fanyi.
Installation
// sudo apt-get install ruby // 前提是已经安装了ruby$ sudo gem install fy
Usage
Translation data is fetched from , and only support translation between Chinese and English.
Translate one word.
$ fy lovelove [ lʌv ]- n. 恋爱;亲爱的;酷爱;喜爱的事物;爱情,爱意;疼爱;热爱;爱人,所爱之物- v. 爱,热爱;爱戴;赞美,称赞;喜爱;喜好;喜欢;爱慕- n. (英)洛夫(人名)1. Love爱,爱情,恋爱2. Endless Love无尽的爱,不了情,蓝色生死恋3. puppy love早恋,青春期恋爱,初恋
More words.
$ fy make love
More more words.Loop mode, CTRL+C to exit.
$ fy> words> to> translate
Support Chinese, even sentence.
$ fy 和谐$ fy 子非鱼焉知鱼之乐
LICENSE
MIT.
项目地址:/dd1994/fy
转自:Ubuntu: 一个命令行下的翻译工具