Lexikon
define Lexikon [ <CLASS> FL= 1 </CLASS> P i n g u i n | <CLASS> FL= 3 </CLASS> F u c h s ];
define Flex1 [ "&numb" "=sg" | 0:e "&numb" "=pl" ];
define Flex3 [ "&numb" "=sg" | 0:e "&numb" "=pl" ];
define Nouns [ [Lexikon .o. [?* "FL=" 1 ?*]] Flex1 | [[Lexikon .o. [?* "FL=" 3 ?*]] Flex3] .o. [u -> ü|| ?* _ ?* "&numb" "=pl"] ] .o. [ [[ "&numb" "=sg" | "&numb" "=pl"|"<CLASS>" ?* "</CLASS>"] -> 0] ];
<CLASS>FL=1</CLASS>Pinguin&numb=sg Pinguin <CLASS>FL=1</CLASS>Pinguin&numb=pl Pinguine <CLASS>FL=3</CLASS>Fuchs&numb=sg Fuchs <CLASS>FL=3</CLASS>Fuchs&numb=pl Füchse