Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

denstiny/Terslation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My translation program

Update the uncommon its record function

Rarely used word function list
这次更新维护了之前的代码问题 之前使用 terlat hello world 将无法翻译hello后面的world 本次更新已经解决

更新日志

  • 2021-02-08 提交
    添加自动复制翻译结果
  • 2020-12-04 提交
    添加翻译生僻字功能,生僻字将存在你的$HOME/.terlist/.terlist文件下

如果你想要查看生僻字 你可以 python fanyim.py -l 建议将python fanyim.py 加入到bashrc fanyim.py 拥有fanyi.py 的所有功能但是fanyi.py更加简洁
另外当你不想使用make install而直接使用 python fanyim.py你需要自己创建.terlist/.terlist文件

echo "alias ters='python ./translation/fanyim.py'" >> bashrc
-- ters world
InputStr = world
Terlat   = 世界
world 世界 加入生僻字

translation 会过滤已有的生僻字和英文段子

当然你可以继续使用下面的默认安装方式

---------------------------------------------------------------------

My translation program

The photo failed If you want to install the program follow


git clone https://github.com/denstiny/translation.git

Installation

You can install it by using that command:

sudo make install

And you can run:

sudo make uninstall

To use it, you should do like this:

terlat "Hello,World."

# This is the output:
你好,世界。

To remove it.

Dependencies

You need need these dependencies:


python3

requests

终端翻译

Terminal translator

Other

If you're a vimmer,you can use Terslation.vim.

LICENSE

MIT

About

Terminal translator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •