koalanlp / kr.bydelta.koala.data / Entity

Entity

class Entity : CanHaveProperty, List<Morpheme> (source)

개체명 분석 결과를 저장할 Property class

참고

개체명 인식은 문장에서 인물, 장소, 기관, 대상 등을 인식하는 기술입니다. 예) '철저한 진상 조사를 촉구하는 국제사회의 목소리가 커지고 있는 가운데, 트럼프 미국 대통령은 되레 사우디를 감싸고 나섰습니다.'에서, 다음을 인식하는 기술입니다.

아래를 참고해보세요.

Since
2.0.0

Constructors

<init>

개체명 분석 결과를 저장합니다.

Entity(surface: String, label: CoarseEntityType, fineLabel: String, morphemes: List<Morpheme>, originalLabel: String? = null)

Properties

fineLabel

개체명 세분류 값으로, label으로 시작하는 문자열.

val fineLabel: String

label

개체명 대분류 값, CoarseEntityType에 기록된 개체명 중 하나.

val label: CoarseEntityType

originalLabel

원본 분석기가 제시한 개체명 분류의 값. 기본값은 null.

val originalLabel: String?

surface

개체명의 표면형 문자열.

val surface: String

Functions

equals

Indicates whether some other object is "equal to" this one.

fun equals(other: Any?): Boolean

getCorefGroup

이 개체명과 공통된 대상을 지칭하는 공통 지시어 또는 대용어들의 묶음을 제공합니다.

fun getCorefGroup(): CoreferenceGroup?

hashCode

Returns a hash code value for the object. The general contract of hashCode is:

fun hashCode(): Int

toString

Returns a string representation of the object.

fun toString(): String