koalanlp / kr.bydelta.koala.etri / EntityResponse

EntityResponse

data class EntityResponse (source)

개체명 인식 결과물

Parameters

id - 개체명 순번

text - 개체명 표면형

type - 개체명의 유형 (세분류)

begin - 개체명 분석 결과의 시작 형태소 번호

end - 개체명 분석 결과의 끝 형태소 번호

weight - 개체명 분석 결과의 신뢰도

commonNoun - 개체명 분석 결과가 일반명사이면 1, 고유명사이면 0

Constructors

<init>

개체명 인식 결과물

EntityResponse(id: Int, text: String, type: String, weight: Double, begin: Int, end: Int, commonNoun: Int)

Properties

begin

개체명 분석 결과의 시작 형태소 번호

val begin: Int

commonNoun

개체명 분석 결과가 일반명사이면 1, 고유명사이면 0

val commonNoun: Int

end

개체명 분석 결과의 끝 형태소 번호

val end: Int

id

개체명 순번

val id: Int

text

개체명 표면형

val text: String

type

개체명의 유형 (세분류)

val type: String

weight

개체명 분석 결과의 신뢰도

val weight: Double

Functions

toEntity

개체명 Entity로 변환합니다.

fun toEntity(senses: List<WordSenseResponse>): Entity

toEntityWithMorph

개체명 Entity로 변환합니다.

fun toEntityWithMorph(senses: List<MorphemeResponse>): Entity