Templates

Aan het wachten op een restore van een database (trage computer, en SQL Server wil gelijk niet echt mee).

Dat doet er mij aan denken: ik ga mij vanavond eens bezighouden met het opfrissen van de event templates in Genbox. Sinds de laatste release zijn blijkbaar mijn versies van de events in het Nederlands naar alle gebruikers gegaan, en die maken nog geen gebruik van de laatste wijzigingen, to wit:

I’ve added gender qualifiers and case qualifiers to the keywords [P], [S], [O], and [W].

The gender qualifiers (m, f, o, u; for male, female, other, unknown) are added inside the closing bracket. For example: [Pm] would match a primary male; [Sf] would match a female spouse. These gender qualifiers allow you to construct a template with optional parts according to gender of each individual, so that surrounding words can be inflected properly for the gender. A keyword without a gender qualifier will match an individual of any gender. Because Genbox supports four genders instead of two, a good approach might be to construct sentences of the form <[Pf] ... | [P] ...>, so that the first section would work for a female, and the second section would work for a male but also those labeled “other” or “unknown”. That way, output for the two extra genders will be produced without the extra burden of needing to construct 4-way groupings every time.

In addition to the current possessive case qualifier “P” (where [PP] produces “his”, “John’s”, etc.), the case qualifiers “N” (nominative, for “he”, “she”), “I” (indirect object, for “him”, “her”), “D” (direct object, same as indirect object in English but varies for other languages), and “X”
(reflexive, for “himself”, “herself”) can now be added to [P], [S], [O], and [W]. These qualifiers indicate the proper forms that a corresponding pronoun should take if a pronoun is to be used. When no case qualifier is specified, the default is nominative (“he”, “she”).

Case and gender qualifiers can be combined, for keywords like [PNm], [SDo], [WXf], etc.

Ik heb daar alleen nog maar peter/meter van aangemaakt:

<[Pf] werd meter|[P] werd peter> [D+L]

dat geeft dan

Arthur Oscar Marie Zélie Vuijlsteke werd peter van Michel Vuijlsteke op zijn doop op 2 September 1970 in Gent.

en

Germana Michaella (Germaine) Sierens werd meter van Michel Vuijlsteke op zijn doop op 2 September 1970 in Gent.

Al dat werk! En dan moet het programma zelf nog vertaald worden! En de helpfile!