Google 번역과 같은 것이 있지만 데스크톱용이 있나요?

Google 번역과 같은 것이 있지만 데스크톱용이 있나요?

나는 데비안에서 freeict-all을 보았습니다.

    $ sudo aptitude install dict-freedict-all
    [sudo] password for shirish: 
    The following NEW packages will be installed:
   dict-freedict-afr-deu{a} dict-freedict-afr-eng{a} dict-freedict-all


dict-freedict-ara-eng{a} dict-freedict-bre-fra{a} dict-freedict-ces-eng{a}
dict-freedict-ckb-kmr{a} dict-freedict-cym-eng{a} dict-freedict-dan-eng{a}dict-freedict-deu-eng{a} dict-freedict-deu-fra{a} dict-freedict-deu-ita{a} dict-freedict-deu-kur{a} dict-freedict-deu-nld{a} dict-freedict-deu-por{a} dict-freedict-deu-swe{a} dict-freedict-deu-tur{a} dict-freedict-eng-afr{a} dict-freedict-eng-ara{a} dict-freedict-eng-ces{a} dict-freedict-eng-cym{a} dict-freedict-eng-deu{a} dict-freedict-eng-ell{a} dict-freedict-eng-fra{a} dict-freedict-eng-gle{a} dict-freedict-eng-hin{a} dict-freedict-eng-hrv{a} dict-freedict-eng-hun{a} dict-freedict-eng-ita{a} dict-freedict-eng-lat{a} dict-freedict-eng-lit{a} dict-freedict-eng-nld{a} dict-freedict-eng-pol{a} dict-freedict-eng-por{a} dict-freedict-eng-rom{a} dict-freedict-eng-rus{a} dict-freedict-eng-spa{a} dict-freedict-eng-srp{a} dict-freedict-eng-swe{a} dict-freedict-eng-swh{a} dict-freedict-eng-tur{a} dict-freedict-fra-bre{a} dict-freedict-fra-deu{a} dict-freedict-fra-eng{a} dict-freedict-fra-nld{a} dict-freedict-gla-deu{a} dict-freedict-gle-eng{a} dict-freedict-gle-pol{a} dict-freedict-hrv-eng{a} dict-freedict-hun-eng{a} dict-freedict-isl-eng{a} dict-freedict-ita-deu{a} dict-freedict-ita-eng{a} dict-freedict-jpn-deu{a} dict-freedict-jpn-eng{a} dict-freedict-jpn-fra{a} dict-freedict-jpn-rus{a} dict-freedict-kha-deu{a} dict-freedict-kha-eng{a} dict-freedict-kur-deu{a} dict-freedict-kur-eng{a} dict-freedict-kur-tur{a} dict-freedict-lat-deu{a} dict-freedict-lat-eng{a} dict-freedict-lit-eng{a} dict-freedict-mkd-bul{a} dict-freedict-nld-deu{a} dict-freedict-nld-eng{a} dict-freedict-nld-fra{a} dict-freedict-nno-nob{a} dict-freedict-oci-cat{a} dict-freedict-pol-gle{a} dict-freedict-por-deu{a} dict-freedict-por-eng{a} dict-freedict-san-deu{a} dict-freedict-slk-eng{a} dict-freedict-spa-ast{a} dict-freedict-spa-eng{a} dict-freedict-spa-por{a} dict-freedict-srp-eng{a} dict-freedict-swe-deu{a} dict-freedict-swe-eng{a} dict-freedict-swh-eng{a} dict-freedict-swh-pol{a} dict-freedict-tur-deu{a} dict-freedict-tur-eng{a} 
        0 packages upgraded, 86 newly installed, 0 to remove and 0 not upgraded.
        Need to get 48.9 MB of archives. After unpacking 80.1 MB will be used.
        Do you want to continue? [Y/n/?] n

내 사용 사례는 간단합니다. 네트워크에 액세스하지 않고도 다른 언어로 구문을 번역할 수 있기를 원합니다. 위의 도구를 사용할 수 있습니까? 조금 엉성하더라도 문법적 구문 등은 그만한 가치가 있을 수 있습니다.

답변1

명령줄 도구:translate-shell

Translate Shell(이전의 Google Translate CLI)은 Google Translate(기본값), Bing Translator, Yandex.Translate, DeepL Translator 및 Apertium에서 제공하는 명령줄 번역기입니다. 이를 통해 터미널에서 이러한 번역 엔진 중 하나에 쉽게 액세스할 수 있습니다.

apt install translate-shell

예를 들어:

trans 'Salut!, Bonjour!, Soyez le bienvenu!'

예제 출력:

Salut!, Bonjour!, Soyez le bienvenu!
(null)

Hi!, Hello!, Welcome!
/null/

Translations of Salut!, Bonjour!, Soyez le bienvenu!
[ Français -> English ]

Salut!, Bonjour!, Soyez le bienvenu!
    Hi!, Hello!, Welcome!

trans --help자세한 내용은 참조하십시오 .

-p다음 옵션을 사용하여 음성 합성기를 활성화 할 수 있습니다 .

trans 'Buenos días. ¿Cómo estás?' -p

대상 언어를 변경하려면 [source_LANG]:[target_LANG]다음을 사용하십시오. (스페인어에서 프랑스어로):

trans es:fr 'Buenos días. ¿Cómo estás?'

또는:

trans -s es -t fr 'Buenos días. ¿Cómo estás?'

github의 홈페이지.

답변2

weboob다음과 같이 할 수도 있습니다.

Weboobs는 사용자가 브라우저에서 웹사이트를 열지 않고도 웹사이트와 상호 작용하는 애플리케이션 모음입니다. 또한 API가 부족한 웹사이트와 상호 작용할 수 있도록 잘 정의된 API를 제공합니다.

Ubuntu 16.04.3 lts이전 버전이 있다는 것을 알았습니다 . weboob다음에서 복제하는 것이 좋습니다 .git

$ git clone https://git.weboob.org/weboob/devel.git weboob && cd weboob

translaboob모듈을 수동으로 시작합니다 .

$ ./tools/local_run.sh  translaboob

처음 실행하는 경우 사용할 백엔드를 선택해야 합니다.

Warning: there is currently no configured backend for translaboob
Do you want to configure backends? (Y/n): Y

Available modules:
1) [ ] ebonics           English to Ebonics translation service
2) [ ] googletranslate   Google translation web service
3) [ ] larousse          larousse dictionary translations
4) [ ] wordreference     Free online translator
a) --all--               install all backends
q) --stop--

이 예에서는 다음을 선택합니다 googletranslate.

Select a backend to create (q to stop): 2
Backend "googletranslate" successfully added.

Available modules:
1) [ ] ebonics           English to Ebonics translation service
2) [X] googletranslate   Google translation web service
3) [ ] larousse          larousse dictionary translations
4) [ ] wordreference     Free online translator
a) --all--               install all backends
q) --stop--

누른 후 q번역하려는 문장을 입력할 수 있습니다. 예:

Select a backend to create (q to stop): q
Right right!
Welcome to translaboob v1.4

Copyright(C) 2012-2018 Lucien Loiseau
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Type "help" to display available commands.

Loaded backends: googletranslate

translaboob> translate en de 'The quick brown fox jumps over the lazy dog'
* googletranslate
        Der schnelle braune Fuchs springt über den faulen Hund
translaboob> translate en ko 'The quick brown fox jumps over the lazy dog'
* googletranslate
        빠른 갈색 여우는 게으른 개를 뛰어 넘습니다.

관련 정보