struct

NLP::DependencyParser::Dependency

Inherits Struct < Value < Object

Represents a dependency relation between two words

Constructors

new(head : Int32, dependent : Int32, relation : RelationType, head_word : String, dependent_word : String)
Source

Instance methods

dependent
Source
dependent_word
Source
head
Source
head_word
Source
relation
Source
to_s(io : IO)

Same as #inspect(io).

Source