koalanlp / kr.bydelta.koala.etri / CanParseWithETRI

CanParseWithETRI

interface CanParseWithETRI : CanCommunicateETRIApi, CanAnalyzeProperty<SentenceResponse> (source)

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

Properties

requestType

분석을 요청할 유형

abstract val requestType: String

Functions

attachProperty

item을 분석하여 property 값을 반환합니다.

open fun attachProperty(item: SentenceResponse, sentence: String): Sentence

convert

분석기의 중간 결과인 sentence를 조합하여 Sentence 객체로 변환합니다.

open fun convert(sentence: SentenceResponse): Sentence

String sentence를 품사 분석하여 분석기가 받아들이는 List<Pair<SentenceResponse, String>>으로 변환합니다.

open fun convert(sentence: String): List<Pair<SentenceResponse, String>>

Sentence sentence를 해체하여 분석기가 받아들이는 SentenceResponse로 변환합니다.

open fun convert(sentence: Sentence): SentenceResponse

Inheritors

EntityRecognizer

개체명 인식 (Named Entity Recognition)을 수행하는 Interface입니다.

class EntityRecognizer : CanRecognizeEntity<SentenceResponse>, CanParseWithETRI

Parser

의존구문분석을 수행하는 Interface입니다.

class Parser : CanParseDependency<SentenceResponse>, CanParseWithETRI

RoleLabeler

의미역 분석(Semantic Role Labeling)을 수행하는 Interface입니다.

class RoleLabeler : CanLabelSemanticRole<SentenceResponse>, CanParseWithETRI