class Word : CanHaveProperty, List<Morpheme>
(source)
어절을 표현하는 Property class입니다.
Since
1.x
<init> |
어절을 구성합니다. Word(surface: String = "", morphemes: List<Morpheme> = listOf()) |
id |
어절의 문장 내 위치입니다. var id: Int |
surface |
어절의 표면형 String. val surface: String |
equals |
표면형과 더불어, 포함된 형태소의 배열 순서가 같은지 확인합니다. (reference 기준의 동일함 판단이 아닙니다) fun equals(other: Any?): Boolean |
equalsWithoutTag |
another 어절과 표면형이 같은지 비교합니다. fun equalsWithoutTag(another: Word): Boolean |
getArgumentRoles |
의미역 분석을 했다면, 현재 어절이 술어로 기능하는 하위 의미역 구조의 목록을 돌려줌. fun getArgumentRoles(): List<RoleEdge>? |
getDependentEdges |
의존구문분석을 했다면, 현재 어절이 지배소인 하위 의존구문 구조의 값을 돌려줍니다. fun getDependentEdges(): List<DepEdge>? |
getEntities |
개체명 분석을 했다면, 현재 어절이 속한 개체명 값을 돌려줍니다. fun getEntities(): Set<Entity> |
getGovernorEdge |
의존구문분석을 했다면, 현재 어절이 의존소인 상위 의존구문 구조의 값을 돌려줍니다. fun getGovernorEdge(): DepEdge? |
getPhrase |
구문분석을 했다면, 현재 어절이 속한 직속 상위 구구조(Phrase)를 돌려줍니다. fun getPhrase(): SyntaxTree? |
getPredicateRoles |
의미역 분석을 했다면, 현재 어절이 논항인 상위 의미역 구조를 돌려줌. fun getPredicateRoles(): List<RoleEdge>? |
hashCode |
Returns a hash code value for the object. The general contract of hashCode is: fun hashCode(): Int |
singleLineString |
품사분석 결과를, 1행짜리 String으로 변환합니다. fun singleLineString(): String |
toString |
Returns a string representation of the object. fun toString(): String |