Module:Airananwe/doc
This is the documentation page for Module:Airananwe
This is the documentation for Module:Airananwe, the inflection-table builder for Airananwe (registry code YAS-AI) on the Yezur wiki. It is not called directly: Template:YAS-AI-conj invokes {{#invoke:Airananwe|conj}} and Template:YAS-AI-decl invokes {{#invoke:Airananwe|decl}}, and Dictionary entries transclude those templates under a ====Conjugation==== or ====Declension==== heading.
The module holds no rules of its own: what it hard-codes is the inventory of tenses and persons and the layout of the tables, while every form is derived by running one named ruleset from Module:Auphen/YAS-AI over the citation form. It requires that data page directly rather than through Module:Auphen/frame, and builds an Module:Auphen engine from its orthography-scope categories (cats) alone. The engine is created without ipa_rules and each form is asked for in spelling rather than sound, so pronounce is never run and the tables come out in ordinary Airananwe orthography; pronunciation stays with {{auphen}}. A change to the rules on the data page is therefore picked up here without an edit to this module, which is wired to YAS-AI and serves no other language.
Parameters
Both functions take the same parameters and read them from the parent frame, so they are given to the wrapper template rather than to the invocation.
| Parameter | Purpose |
|---|---|
word |
The form to inflect: the citation form of the verb for conj, the singular of the noun for decl. Defaults to the page name when omitted.
|
1 |
A positional alternative to word, consulted only when word is absent; a word that is present but empty falls through to the page name instead.
|
Rulesets
| Ruleset | Derives |
|---|---|
tense-person |
One finite form. tense is past, nearpast, present, nearpresent, nearfuture, future, passive-past, passive-present or passive-future; person is 1sg, 2sg, 3sg, 3sg-f, 1p, 2p or 3p.
|
tense-person-neg |
The negative counterpart of the same form. |
plural |
The plural of a noun, from the shape of the singular. |
genitive |
The genitive of a noun. Run over the headword for the singular and over the generated plural for the plural. |
The data page carries two further rulesets, special and passive, which this module never calls: each finite ruleset repeats inline the stem derivation it needs — bare stem, special stem or passive stem — before the personal ending, so it can be run over the citation form on its own. The two remain reachable as {{auphen|word|YAS-AI|special}}.
conj emits two tables, the seven persons down the side, captioned "Active — negative beneath each form" and "Passive". The first covers the six active tenses, the affirmative in bold with the negative in grey beneath it; the second covers the passive past, present and future in the same layout. A tense and person for which no affirmative ruleset exists is shown as an em dash, and a missing negative leaves the lower line of the cell empty; with the data page as it stands neither case arises.
decl emits a single table, SG and PL against plain and genitive, all four forms in bold. Airananwe has no case in the old sense — the plural is formed by rule from the shape of the singular, and the genitive is the suffixed postposition -enne (-nne after a vowel), which attaches to both numbers. Running the genitive over the plural is the one place where the output of one ruleset is fed to another.
For the rule notation itself, and for the engine's behaviour and divergence log, see Module talk:Auphen.