Jump to content

Template:Auphen/testcases

From Yezur Wiki

Live acceptance tests for Template:Auphen / Module:Auphen: the engine's output is compared to hand-checked expectations. A row shows ✗ and files this page into Category:Auphen test failures if the engine ever drifts.

Pjany (YBS-PJ) pronunciation estimation

Word Rendered Expected Result
geúrl /ɣuɹəl/ /ɣuɹəl/
seo (s-palatalization) /ʃɔ/ /ʃɔ/
teo (t-palatalization) /tʃɔ/ /tʃɔ/
geo /ɣɔ/ /ɣɔ/

Airananwe (YAS-AI) stem formation

Guards against two divergences fixed on 2026-08-26 (see Module talk:Auphen). The special rows exercise an @-index on a category target — the marked vowel must be the last one in the word, not the last of every vowel letter. The plural rows exercise a left context whose preceding letter opens a digraph member overlapping the target.

Word Ruleset Rendered Expected Result
papaté (one vowel letter) special paped paped
opité (two) special opid opid
apoté (two) special apud apud
naquité (three) special naquid naquid
arch (overlapping ch) plural archre archre
éth (no overlap) plural éthre éthre
rah (context must not fire) plural rar rar

Graceful failure

An unknown code should not break the page — it returns a visible error and files the calling page into Category:Auphen errors:

{{#invoke:Auphen/frame|raw|x|NOPE}} → ERROR: no sound data for code "NOPE"