命令列翻譯工具 Translate Shell

2021-10-06 16:57:11 字數 1037 閱讀 7006

translate shell是乙個支援 google translate、bing translator、yandex.translate 和 apertium 翻譯引擎的命令列翻譯器,預設使用的是google translate 引擎。

$ trans 'saluton, mondo!'

saluton, mondo!

hello, world!

translations of saluton, mondo!

[ esperanto -> english ]

saluton ,

hello,

mondo !

world!

除了普通查詢用法,還可以以互動的方式使用:

$ trans -shell -brief

> rien ne réussit comme le succès.

nothing succeeds like success.

> was mich nicht umbringt, macht mich stärker.

what does not kill me makes me stronger.

> юмор есть остроумие глубокого чувства.

humor has a deep sense of wit.

> 學而不思則罔,思而不學則殆。

learning without thought is labor lost, thought without learning is perilous.

> 幸福になるためには、人から愛されるのが一番の近道。

translate shell 相容 posix 系統,包括但不限於:

gnu/linux

macos

*bsd

android(通過 termux)

windows(通過 wsl、cygwin 或 msys2)

命令列翻譯工具 Translate Shell

translate shell是乙個支援 google translate bing translator yandex.translate 和 apertium 翻譯引擎的命令列翻譯器,預設使用的是google translate 引擎。trans saluton,mondo saluton,mo...

命令列工具

在wince6.0 中,在vs2005 的 build 選單中,有乙個 advanced build commands 其中有很多編譯選項 sysgen 相當於執行命令 blddemo q 一般第一次編譯或者是 改變了 catalog 中的item 的時候,就用這個了。clean sysgen 相當...

命令列工具

執行 scws h 可以看到詳細幫助說明。usage scws options i input o output i string file 要切分的字串或檔案,如不指定則程式自動讀取標準輸入,每輸入一行執行一次分詞 o file 切分結果輸出儲存的檔案路徑,若不指定直接輸出到螢幕 c charse...