Nasty.Language.Catalan.SentenceParser (Nasty v0.3.0)
View SourceSentence and clause parser for Catalan.
Builds Clause and Sentence structures from phrases with Catalan-specific patterns.
Catalan-Specific Features
- Flexible word order: SVO default, but VSO and VOS common
- Pro-drop: subject pronouns often omitted
- Subordination: que, perquè, quan, si, encara, mentre
Summary
Functions
@spec parse_sentences( [Nasty.AST.Token.t()], keyword() ) :: {:ok, [Nasty.AST.Sentence.t()]} | {:error, term()}