Esim 8

ALPHABET = [a-z] A:[a] V:[aeiouy] \
<kk>:[<>k]  \
[\+@#<NOUN><NN><NOM><INE><SG><PL><GEN><ILL><ALL><ELA><ADE><ABL><ESS>]:<>

$NON-FRONT-VOWEL$ = b | c | d | e | f | g | h | i | j |\
                    k | l | m | n | p | q | r | s | t |\
                    u | v | x | y | z |  |  | \+:<>

$NON-BACK-VOWEL$ =  a | b | c | d | e | f | g | h | i | j |\
                    k | l | m | n | p | q | r | s | t |\
                    u | v | x | y | z | o | \+:<>

$NOUN-SET-N01$ = talo | valo
$NOUN-SET-N04$ = {laatikko}:{laatik<kk>o}

$NOUN-01-INFL-S0$  = <NOM>
$NOUN-01-INFL-S1A$ = n <GEN> | t <PL><NOM> | ssA <SG><INE>
$NOUN-01-INFL-S1B$ = Vn <SG><ILL> | na <SG><ESS>
$NOUN-01-INFL-S2A$  = ihin <PL><ILL>
$NOUN-01-INFL-S2B$ = jen <PL><GEN> | jA <PL><PAR>
$NOUN-01-INFL-S3$  = A <SG><PAR>

$NOUN-04-INFL-S0$  = <NOM>
$NOUN-04-INFL-S1A$ = n <GEN> | t <PL><NOM> | ssA <SG><INE>
$NOUN-04-INFL-S1B$ = Vn <SG><ILL> | na <SG><ESS>
$NOUN-04-INFL-S2A$  = ihin <PL><ILL>
$NOUN-04-INFL-S2B$ = jen <PL><GEN> | jA <PL><PAR>
$NOUN-04-INFL-S3$  = A <SG><PAR>

$GRAD-STRONG$ = <kk> <=> <> 
$GRAD-WEAK$   = <kk> <=> k

$N04-S0$ =  $NOUN-SET-N01$ || $GRAD-WEAK$
$N04-S1A$ = $NOUN-SET-N01$ || $GRAD-STRONG$
$N04-S1B$ = $NOUN-SET-N01$ || $GRAD-WEAK$
$N04-S2A$ = $NOUN-SET-N01$ || $GRAD-STRONG$
$N04-S2B$ = $NOUN-SET-N01$ || $GRAD-WEAK$
$N04-S3$ = $NOUN-SET-N01$ || $GRAD-WEAK$

$N04-S0$ =  $NOUN-SET-N04$ || $GRAD-WEAK$
$N04-S1A$ = $NOUN-SET-N04$ || $GRAD-STRONG$
$N04-S1B$ = $NOUN-SET-N04$ || $GRAD-WEAK$
$N04-S2A$ = $NOUN-SET-N04$ || $GRAD-STRONG$
$N04-S2B$ = $NOUN-SET-N04$ || $GRAD-WEAK$
$N04-S3$ = $NOUN-SET-N04$ || $GRAD-WEAK$


$NOUN-04$ = $N04-S0$ $NOUN-04-INFL-S0$ |\
           $N04-S1A$ $NOUN-04-INFL-S1A$  |\
           $N04-S1B$ $NOUN-04-INFL-S1B$

%                $NOUN-SET-01$ $NOUN-01-INFL-S2A$  |\
%                $NOUN-SET-01$ $NOUN-01-INFL-S2B$  |\
%                $NOUN-SET-01$ $NOUN-01-INFL-S3$ 


$S-RULE$ = (#:<> $NON-BACK-VOWEL$*) A <=> a |\
           (#:<> $NON-FRONT-VOWEL$*) A <=>  


$NOUN-04$ || $S-RULE$





-- PetriUusitalo - 20 Nov 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