lko0901 / aws-comprehend-with-SpringBoot

AWS의 Translate와 Comprehend를 이용하여 번역 및 감정 분석을 제공하는 Spring Boot 기반의 API 서버

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Translate and Comprehend Api Server with AWS

AWS의 Translate, Comprehend 서비스를 이용하여 번역 및 감정분석 기능을 제공하는 Spring Boot 기반의 API Server

Getting Started

Prerequisites

아래 url 참고하여, aws access key와 secret key 발급

https://docs.aws.amazon.com/ko_kr/IAM/latest/UserGuide/id_credentials_access-keys.html

발급한 AccessKey와 SecretKey를 application.yml 혹은 application-local.yml 파일을 만들고 아래 내용 추가

cloud:
  aws:
    region: ap-southeast-1
    credentials-accessKey: yourkey
    credentials-secretKey: yourkey

Installing

gradle 기반으로 Excutable Jar 생성 후 실행 시 아래 명령어 수행

./gradlew bootJar
java -jar ./build/libs/aws-test-0.0.1-SNAPSHOT.jar

바로 실행 시킬 시 아래 명령어 수행

./gradlew bootRun

실행 후 아래 주소로 접속하여 api 확인 가능

http://localhost:8080/swagger-ui.html

Built With

  • Spring Boot - The web framework used
  • Gradle - Dependency Management
  • Lombok - Annotation based plugin what add a code like Getter, Setter, Builder etc

Authors

  • Kiuk Lee - Initial work - lko0901

License

This project is licensed under the MIT License - see the LICENSE.md file for details

TODO

batch processing

About

AWS의 Translate와 Comprehend를 이용하여 번역 및 감정 분석을 제공하는 Spring Boot 기반의 API 서버


Languages

Language:Java 100.0%