Skip to content

(de) grammar table additions

Valentyne Stigloher requested to merge de-grammar-tables into main

well, I realized that plural declensions are in some cases different to the singular feminine ones, and then fell into a rabbit hole of other gendered words (adjective suffixes are missing because hopefully we can add them to the future first-class noun citizen)

it is a bit hard to read the grammar table on mobile devices, so I experimented with abbreviating them to symbols

my hope is a bit that we can define the grammar table in a declarative manner and e.g. later dropping the comprehensive column in examples.tsv – because we could infer it from the grammar table which morphemes should be shown

image image

TODOs

I appreciate input on all of these points:

  • backwards compatibility, because more morphemes have been added and this breaks the compressed form. It is »a huge mess« in pl, but honestly I have no idea on how to do it in a way that does not result into a huger mess (my current preferred idea is to have some kind of function per locale/*/pronouns/morphemes.js which can detect the used morphemes by the length of the input string)
  • accessibility, because using d-none probably hides the text for screen readers too and they can’t interpret the singular dot and genus symbols correctly (might be an issue for other pages too)
  • genus symbols, because I don’t want to assign the neutral one to our beloved Neutrum, but I dunno which would be correct
Edited by Valentyne Stigloher

Merge request reports