koalanlp / kr.bydelta.koala.etri / CanCommunicateETRIApi

CanCommunicateETRIApi

interface CanCommunicateETRIApi (source)

a character ETRI Open API와 통신을 하는 부분입니다.

Properties

apiKey

ETRI Open API의 Access Token 값입니다.

abstract val apiKey: String

Functions

convertPayload

ResultPayload 유형의 요청 결과를 Koala의 Sentence 목록으로 변환합니다.

open fun convertPayload(result: SentenceResponse): Sentence

request

ETRI Open API와 통신합니다.

open fun request(apiKey: String, type: String, text: String): ResultContent

Inheritors

CanParseWithETRI

ETRI API와 통신을 하는 CanAnalyzeProperty 인터페이스입니다.

interface CanParseWithETRI : CanCommunicateETRIApi, CanAnalyzeProperty<SentenceResponse>

Tagger

ETRI 품사 분석 API의 Wrapper입니다.

class Tagger : CanTagOnlyAParagraph<SentenceResponse>, CanCommunicateETRIApi