koalanlp / kr.bydelta.koala.data / DepEdge

DepEdge

class DepEdge : DAGEdge<DependencyTag, Word> (source)

의존구문구조 분석의 결과.

참고

의존구조 분석은 문장의 구성 어절들이 의존 또는 기능하는 관계를 분석하는 방법입니다. 예) '나는 밥을 먹었고, 영희는 짐을 쌌다'라는 문장에는 가장 마지막 단어인 '쌌다'가 핵심 어구가 되며,

아래를 참고해보세요.

Since
2.0.0

Constructors

<init>

의존구문구조 분석 결과를 생성합니다.

DepEdge(governor: Word?, dependent: Word, type: PhraseTag, depType: DependencyTag? = null, originalLabel: String? = null)

Properties

dependent

의존구조의 피지배소 Word

val dependent: Word

depType

의존기능 표지자, DependencyTag Enum 값. 별도의 기능이 지정되지 않으면 null. (ETRI 표준안은 구구조+의존기능으로 의존구문구조를 표기함)

val depType: DependencyTag?

governor

의존구조의 지배소 Word. 문장의 Root에 해당하는 경우 null.

val governor: Word?

originalLabel

원본 분석기의 표지자 String 값. 기본값은 null.

val originalLabel: String?

type

구구조 표지자, PhraseTag Enum 값 (ETRI 표준안은 구구조+의존기능으로 의존구문구조를 표기함)

val type: PhraseTag

Functions

equals

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

fun equals(other: Any?): Boolean

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