koalanlp / kr.bydelta.koala.data / DAGEdge

DAGEdge

abstract class DAGEdge<L : Enum<*>, T : Property> : CanHaveProperty (source)

T-type의 DAG Edge를 저장합니다.

Since
2.0.0

Properties

dest

Edge의 종점. 의존구문분석인 경우 피지배소, 의미역인 경우 논항.

val dest: T

label

Edge가 나타내는 관계.

val label: L?

src

Edge의 시작점. 의존구문분석인 경우 지배소, 의미역인 경우 동사.

val src: T?

Functions

equals

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

open fun equals(other: Any?): Boolean

hashCode

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

open fun hashCode(): Int

toString

Returns a string representation of the object.

open fun toString(): String

Inheritors

DepEdge

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

class DepEdge : DAGEdge<DependencyTag, Word>

RoleEdge

의미역 구조 분석의 결과.

class RoleEdge : DAGEdge<RoleType, Word>