ALPHABET = [A-Za-z] [<NOUN><NOM><INE><SG><PL><GEN>]:<>


$VCONS$ = b | m | v | d | n | l | r | g | j 
$VOWEL$ = a | e | i | o | u | y |  |  


$NOUN-SET1$ = {kuppi}:{kup}
$NOUN-SET2$ = talo

$GEN-P1$ = n
$GEN-P2$ = en
$INE-P1$ = ssa
$INE-P2$ = ss
$PL-P1$  = t
$PL-P2$  = i
$PL-P3$  = j

% -ppi loppuisten sanojen loppuosan muutosvariantit 
$NOUN-SET1-A1$ = pi
$NOUN-SET1-A2$ = i
$NOUN-SET1-A3$ = ei
$NOUN-SET1-A4$ = pie


$NOUN-SET1-ALL-SG$ = $NOUN-SET1-A1$           <NOM>:<> |\
                     $NOUN-SET1-A2$ $GEN-P1$  <GEN>:<> |\
                     $NOUN-SET1-A2$ $INE-P1$  <INE>:<>
                    

$NOUN-SET2-ALL-SG$ = <NOM>:                   <> |\
                     $GEN-P1$                 <GEN>:<> |\
                     $INE-P1$                 <INE>:<>

$NOUN-SG$ = $NOUN-SET1$ $NOUN-SET1-ALL-SG$ <SG>:<> |\
            $NOUN-SET2$ $NOUN-SET2-ALL-SG$ <SG>:<>

$NOUN-SET1-ALL-PL$ = $NOUN-SET1-A2$ $PL-P1$   <NOM>:<> |\
                     $NOUN-SET1-A4$ $GEN-P1$  <GEN>:<> |\
                     $NOUN-SET1-A3$ $INE-P1$  <INE>:<>
                    

$NOUN-SET2-ALL-PL$ = $PL-P1$            <NOM>:<> |\
                     $PL-P3$ $GEN-P2$   <GEN>:<> |\
                     $PL-P2$ $INE-P1$   <INE>:<>


$NOUN-PL$ = $NOUN-SET1$ $NOUN-SET1-ALL-PL$ <PL>:<> |\
            $NOUN-SET2$ $NOUN-SET2-ALL-PL$ <PL>:<> 


$NOUN-SG$ | $NOUN-PL$









-- Main.PetriUusitalo - 25 Oct 2006
Topic revision: r2 - 2006-11-28 - KimmoKoskenniemi
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback