Skip to main content

Crate prosaic_grammar_de

Crate prosaic_grammar_de 

Source
Expand description

German grammar layer for the Prosaic NLG engine.

Covers: gender-aware articles (all four cases × three genders × singular/plural), regular and common-irregular noun pluralization, regular weak verb conjugation (present/preterite/future) plus ~10 strong irregulars, past and present participles, German cardinal number spelling (0–999,999), and gendered nominative pronouns/demonstratives.

Deliberately out of scope: attributive adjective declension, Konjunktiv, Perfekt compound tenses, full strong-verb tables. See the plan doc for rationale.

Modules§

gender
Gender inference from German noun endings.

Structs§

German
German language grammar implementation.

Functions§

indefinite_article
Return the indefinite article (“ein/eine/…”) matching the given features. German has no plural indefinite article — returns “” for plural.