All Projects → Anoncheg1 → Command-line-translator

Anoncheg1 / Command-line-translator

Licence: GPL-3.0 License
Command-line access to google translate and some other features

Programming Languages

shell
77523 projects
perl
6916 projects

Projects that are alternatives of or similar to Command-line-translator

php-google-translate-for-free
Library for free use Google Translator. With attempts connecting on failure and array support.
Stars: ✭ 124 (+376.92%)
Mutual labels:  language-detection, google-translate
aiEyes
🤖 👁️ Describes photos using audio for Blind and Visually-Impaired Users
Stars: ✭ 23 (-11.54%)
Mutual labels:  google-translate
alfred-urban-dictionary
Search Urban Dictionary from Alfred.
Stars: ✭ 53 (+103.85%)
Mutual labels:  urban-dictionary
lingua-go
👄 The most accurate natural language detection library for Go, suitable for long and short text alike
Stars: ✭ 684 (+2530.77%)
Mutual labels:  language-detection
laravel-translate
Generate translation files for Laravel using Google Translate
Stars: ✭ 22 (-15.38%)
Mutual labels:  google-translate
spacy-fastlang
Language detection using Spacy and Fasttext
Stars: ✭ 34 (+30.77%)
Mutual labels:  language-detection
py translator
The end goal is a simple application for translating text in the terminal. Text can be generated interactively or programmatically in the shell environment.
Stars: ✭ 45 (+73.08%)
Mutual labels:  google-translate
language-identification-template
Detect the languages from short pieces of text
Stars: ✭ 20 (-23.08%)
Mutual labels:  language-detection
pastey
A lightweight, self-hosted paste platform
Stars: ✭ 65 (+150%)
Mutual labels:  language-detection
google translate diff
Google Translate API wrapper translates only changes between revisions of big texts
Stars: ✭ 51 (+96.15%)
Mutual labels:  google-translate
react-in-out-textarea
A simple React.js User Interface Component that is like Google Translate with full TypeScript Support
Stars: ✭ 28 (+7.69%)
Mutual labels:  google-translate
google translate desktop
Unofficial Google Translate Desktop Mac App
Stars: ✭ 15 (-42.31%)
Mutual labels:  google-translate
nlpserver
NLP Web Service
Stars: ✭ 76 (+192.31%)
Mutual labels:  language-detection
SwiftUIMLKitTranslator
SwiftUI MLKit Language Identification & Translator
Stars: ✭ 23 (-11.54%)
Mutual labels:  language-detection
tr4n5l4te
Use Google Translate without an API key.
Stars: ✭ 32 (+23.08%)
Mutual labels:  google-translate
translate
A module grouping multiple translation APIs
Stars: ✭ 321 (+1134.62%)
Mutual labels:  google-translate
jstarcraft-nlp
专注于解决自然语言处理领域的几个核心问题:词法分析,句法分析,语义分析,语种检测,信息抽取,文本聚类和文本分类. 为相关领域的研发人员提供完整的通用设计与参考实现. 涵盖了多种自然语言处理算法,适配了多个自然语言处理框架. 兼容Lucene/Solr/ElasticSearch插件.
Stars: ✭ 92 (+253.85%)
Mutual labels:  language-detection
tongue
Elixir port of Nakatani Shuyo's natural language detector
Stars: ✭ 17 (-34.62%)
Mutual labels:  language-detection
repeated-google-translate
A script to translate a text repeatedly using Google Translate. For the keks and memes.
Stars: ✭ 23 (-11.54%)
Mutual labels:  google-translate
google-translate-tk
Calculate google translate's token(tk) by Golang
Stars: ✭ 33 (+26.92%)
Mutual labels:  google-translate

Gitter chat

Google translate script. It gives you easy access to Google Translate in your terminal:

Installation step by step:

    1. download one of the version Perl (perlfork.pl) or Bash (translate and urban.pl)
    1. install requirements
    1. execute command: $ chmod +x perlfork.pl translate urban.pl
    1. add to ~/.bash_aliases: alias t="/home/user/perlfork.pl"
    1. (optional) edit options section in script perlfork.pl or translate for your taste (choose language detection scema)
$ t die unbekannten Sprache
	Language: German
	...
$ t -l
	de	German
$ alias tde="t -s de -t en"
$ tde "die unbekannten Sprache"
	the unknown language

https://github.com/Anoncheg1/Command-line-translator

Google translate shell, Google translate command-line, command-line translator Google Translate, Linux, easy to use, fast and comfortable. Command-line google translate, quick translate, very simple scripts, scripts for assess Google Translate, Google Translate CLI.

FILES:

  • perlfork.pl - Perl5 version. Google translate only.
  • translate - Bash version. Good for English dictionary.
  • urban.pl - optional plugin for bash version.

Perl version

get perl version:

$ wget http://git.io/vEUKU
$ chmod +x perlfork.pl

REQUIREMENTS:

  • perl5 >= v5.16
  • perl JSON
  • perl Clone
  • perl LWP::Protocol::socks -if you need socks proxy
  • mplayer or mpg123 -for sound

FEATURES:

  • Windows support(planned),
  • translated text,
  • fixed text with highlight,
  • language detection,
  • dictionary,
  • translit,
  • google text-to-speach

There is two systems for detection of direction($FIRST_LANG to $SECOND_LANG or vice versa):

  • Simple detection of direction. First it search Latin or Russian symbols and decide. If not found it use $source = 'auto'; $target = 'en';
  • Advanced detection of direction. ALD=1;

Bash version - extended support for english and german, urban dictionary

REQUIREMENTS:

  • UTF-8 support for required languages
  • curl >= 7.21.0
  • SpiderMonkey or nodejs
  • mpg123 for playing pronunciation For Debian sid: #apt-get install curl spidermonkey-bin html2text mpg123 For Debian jessie: #apt-get install curl nodejs html2text mpg123 For FreeBSD: #pkg install curl spidermonkey24 html2text mpg123
  • forvo.com account for pronunciation
  • optional: urban.pl, perl HTML-Tree (see URBAN_DICTIONARY)

FEATURES:

  • translated text,
  • fixed text with highlight,
  • language detection,
  • dictionary,
  • translit,
  • execution without parameters will translate fixed string for 1-2 words
  • prompt mode
  • requery with fixed

for english:

  • phrases, forms, ideom, transcription, audio pronunciation
  • cache for words
  • saving english words to file for learning
  • urban dictionary

for german:

  • transcription

for convenience. Add to ~/.bash_aliases:

  • alias t="/home/user/perlfork.pl"
  • alias ts="/home/user/translate -S"

Commands:

  • -s Source language (can be "auto")
  • -t Target language (can't be)
  • -l List of languages
  • -h Help

Examples:

  • t -s auto -t en 母亲
  • cat file | t -

Debian Cyrillic support in tty shell:

    1. #dpkg-reconfigure locales
  • Install en_US.utf8, ru_RU.utf8
    1. #dpkg-reconfigure console-setup
  • Install . Combined - latin slavic Cyrillic; Greek

command line google translate command-line translator linux debian gentoo fedora mint ubuntu text-based languages

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].