Ubuntu

README.md

Showing 1 changed file with 79 additions and 0 deletions
1 +
2 +
3 +<!-- ABOUT THE PROJECT -->
4 +## About The Project
5 +
6 +* 전송 받은 메세지의 언어를 인식하고 번역
7 +* 타깃 언어의 기본 값은 영어, 명령어를 통해 변경가능
8 +
9 +
10 +<!-- GETTING STARTED -->
11 +## Getting Started
12 +
13 +![QRcode](/uploads/e949c9ce75f325aea3b5ccf0b71012e2/QRcode.png)
14 +* QR코드를 통해 라인 친구 추가 가능
15 +
16 +
17 +### Installation
18 +
19 +1. API
20 + [https://console.cloud.google.com/?hl=ko](https://console.cloud.google.com/?hl=ko)
21 + [https://developers.line.biz/en/](https://developers.line.biz/en/)
22 + [https://developers.naver.com/main/](https://developers.naver.com/main/)
23 +2. Clone the repo
24 +```sh
25 +git clone http://khuhub.khu.ac.kr/2019102171/termproject.git
26 +```
27 +3. Install NPM packages
28 +```sh
29 +npm install
30 +```
31 +4. Enter your API in `app.js`
32 +```JS
33 +const keyFilename = '구글 클라우드 플랫폼 키파일 경로';
34 +const PAPAGO_ID = '파파고 api ID';
35 +const PAPAGO_SECRET = '파파고 api secret';
36 +const TOKEN = '라인 챗봇 토큰'
37 +```
38 +
39 +
40 +
41 +<!-- USAGE EXAMPLES -->
42 +## Usage
43 +
44 +* QR코드를 통해 친구 추가를 한 뒤 원하는 메세지를 입력하면 번역된 결과가 자동으로 전송
45 +* 입력하는 언어는 자동으로 인식하며 타깃 언어는 영어가 기본 설정
46 +* ! 언어 명령어를 통해 지원 가능한 언어를 확인하고 변경 가능
47 +
48 +
49 +<!-- LICENSE -->
50 +## License
51 +
52 +MIT License
53 +
54 +Copyright (c) [year] [fullname]
55 +
56 +Permission is hereby granted, free of charge, to any person obtaining a copy
57 +of this software and associated documentation files (the "Software"), to deal
58 +in the Software without restriction, including without limitation the rights
59 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
60 +copies of the Software, and to permit persons to whom the Software is
61 +furnished to do so, subject to the following conditions:
62 +
63 +The above copyright notice and this permission notice shall be included in all
64 +copies or substantial portions of the Software.
65 +
66 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
72 +SOFTWARE.
73 +
74 +
75 +
76 +<!-- CONTACT -->
77 +## Contact
78 +
79 +padasol@khu.ac.kr