Git Product home page Git Product logo

trans's Introduction

Trans

status

언어인식 라이브러리 + 카카오 번역API를 이용해서 제작된 간단한 터미널 번역기입니다. Video Label

Download

Download Trans

Install

go가 설치되어있다면 아래 명령어로 설치할 수 있습니다.

$ go get -u github.com/lazypic/trans

사용법

터미널에서 영어단어를 번역할 수 있습니다.

$ trans test
$ trans -text test # 이렇게도 작성할 수 있습니다.
시험
  • 입력된 언어를 자동으로 인식해서 번역해줍니다.
$ trans 테스트
test
  • 중국어도 가능합니다.
$ trans 早上好
좋은 아침
  • 텍스트 파일을 trans 명령으로 보낼수 있습니다.
$ cat woohwa.txt | trans
  • echo 명령을 이용해서 번역을 할 수 있습니다.
$ echo "test" | trans
시험
  • 모든 Args를 사용한 문법은 아래와 같습니다. -text, -src, -target을 사용할 수 있으며 src, target 옵션에는 kr(한국어), en(영어), jp(일본어), cn(중국어), vi(베트남어), id(인도네시아어)를 설정할 수 있습니다.
$ trans -src en -target kr -text test
  • man 형태의 유닉스/리눅스 명령어의 도움말도 trans 명령어로 번역할 수 있습니다.
$ man -help 2>&1 | trans

Library

trans's People

Contributors

khw7096 avatar pieisland avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

pieisland

trans's Issues

stdin 지원

아래 명령어를 지원하도록 할 것

$ text.txt > trans

개인적인 성능비교.

기능순

  • 네이버 파파고
  • 구글
  • 카카오톡

API편의성

  • 카카오톡
  • 네이버 파파고(제한)
  • 구글(비용)

영어발음

  • 구글
  • 네이버 파파고
  • 카카오

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.