lib/proiel/cli/converters/conll-u.rb
# A node is clausal if it is a verb and not nominalized; or it has a copula dependent; or it has a subject (e.g. in an absolute constructino without a verb; or if it is the root (e.g. in a nominal clause)
A node is clausal if it is a verb and not nominalized; or it has a copula dependent; or it has a subject
A node is clausal if it is a verb and not nominalized ; or it has a copula dependent ; or it has a subject
def clausal?
        (@part_of_speech == 'V-' and !nominalized?) or
          dependents.any?(&:copula?) or
          dependents.any? { |d| ['sub', 'nsubj', 'nsubjpass', 'csubj', 'csubjpass'].include? d.relation  } or
          root?
      end
def clausal? ( @part_of_speech == 'V-' and ! nominalized? ) or dependents . any? ( & :copula? ) or dependents . any? { | d | [ 'sub' , 'nsubj' , 'nsubjpass' , 'csubj' , 'csubjpass' ] . include? d . relation } or root? end
A node is clausal if it is a verb and not nominalized; or it has a copula dependent; or it has a subject (e.g.
A node is clausal if it is a verb and not nominalized ; or it has a copula dependent ; or it has a subject ( e . g .