koalanlp / kr.bydelta.koala.etri / WordResponse

WordResponse

data class WordResponse (source)

어절 분석 결과물

Parameters

id - 어절 순번

text - 어절의 표면형

begin - 어절 분석 결과의 시작 형태소 번호

end - 어절 분석 결과의 끝 형태소 번호

Constructors

<init>

어절 분석 결과물

WordResponse(id: Int, text: String, begin: Int, end: Int)

Properties

begin

어절 분석 결과의 시작 형태소 번호

val begin: Int

end

어절 분석 결과의 끝 형태소 번호

val end: Int

id

어절 순번

val id: Int

text

어절의 표면형

val text: String

Functions

toWords

의미에 따라 형태소를 합쳐서 하나의 Word로 변환합니다.

fun toWords(senses: List<WordSenseResponse>): Word

toWordsWithMorph

의미에 따라 형태소를 합쳐서 하나의 Word로 변환합니다.

fun toWordsWithMorph(senses: List<MorphemeResponse>): Word