koalanlp / kr.bydelta.koala.data / Morpheme / component1

component1

operator fun component1(): String (source)

surface 값을 첫 component로 반환합니다.

Kotlin

다음과 같이 사용할 수 있습니다.

val (surface, tag) = Morpheme("String", POS.NNP)
// surface == "String"
// tag == POs.NNP