Jump to content

User:Hogü-456/Decision table for Fragment experiments

From Wikifunctions

There is the page Wikifunctions:Abstract Wikipedia/2025 fragment experiments. There are example functions for generating text linked at the page. Here you can find an experiment with writing the rules of a specific sentence as a decision table.

How to use

Defining an example sentence and the variable input as columns. Afterwards also the other inputs.

Example Decision Table

The table blow shows how to derive the German indefinite article.

Sentence Language Input1 Input2 grammatical Gender of input2 undefined article
Berlin ist eine Stadt. Deutsch Berlin Stadt Femininum eine
Berlin ist ein Bundesland. Deutsch Berlin Bundesland Neutrum ein
Berlin ist ein Stadtstaat. Deutsch Berlin Stadtstaat Masculinum ein

Function call test