Nasty.Language.Catalan.DependencyExtractor (Nasty v0.3.0)

View Source

Extracts dependency relations from parsed Catalan syntactic structures.

Converts phrase structure parses into Universal Dependencies relations.

Catalan-Specific Considerations

  • Subject-verb agreement with pro-drop
  • Clitic pronoun dependencies (em, et, es, el, la)
  • Post-nominal modifier relations
  • Flexible word order (SVO, VSO, VOS)

Summary

Functions

extract(sentence)

extract_from_clause(clause)

@spec extract_from_clause(Nasty.AST.Clause.t()) :: [Nasty.AST.Dependency.t()]