Esim 9

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

$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 | \+: <>

$SET-N01$ = talo | is

$N01-S0-INFL$   =    <SG> <NOM>

$N01-S1A-INFL$  =  { <>}:{n}      <SG> <GEN> |\
                    t      <PL> <NOM> |\
                    ksI    <SG> <TRA> |\
                    ssA    <SG> <INE> |\
                    stA    <SG> <ELA> |\
                    llA    <SG> <ADE> |\
                    ltA    <SG> <ABL> |\
                    lle    <SG> <ALL> |\
                    ttA    <SG> <ABE> 

$N01-S1B-INFL$  =   Vn     <SG> <ILL> |\
                    na     <SG> <ESS>

$N01-S2A-INFL$  =   iksI   <PL> <TRA> |\
                    issA   <PL> <INE> |\
                    istA   <PL> <ELA> |\
                    illA   <PL> <ADE> |\
                    iltA   <PL> <ABL> |\
                    ille   <PL> <ALL> |\
                    ittA   <PL> <ABE>

$N01-S2B-INFL$  =   jen    <PL> <GEN> |\
                    jA     <PL> <PAR> |\
                    ihin   <PL> <ILL> |\
                    inA    <PL> <ESS>

$N01-S3-INFL$   =   A     <SG> <PAR>

$N01-S0$ = $SET-N01$
$N01-S1A$ = $SET-N01$ 
$N01-S1B$ = $SET-N01$
$N01-S2A$ = $SET-N01$
$N01-S2B$ = $SET-N01$
$N01-S3$ = $SET-N01$


$N01$ =     # $N01-S0$   $N01-S0-INFL$ |\
            # $N01-S1A$  $N01-S1A-INFL$  |\
            # $N01-S1B$  $N01-S1B-INFL$  |\
            # $N01-S2A$  $N01-S2A-INFL$  |\
            # $N01-S2B$  $N01-S2B-INFL$  |\
            # $N01-S3$   $N01-S3-INFL$ 

% --------------------------------------------------------
% --------------------------------------------------------
% --------------------------------------------------------

$SET-N04$ = laatik <kk>o

$N04-S0-INFL$   =    <SG> <NOM>

$N04-S1A-INFL$  =   n      <SG> <GEN> |\
                    t      <PL> <NOM> |\
                    ksI    <SG> <TRA> |\
                    ssA    <SG> <INE> |\
                    stA    <SG> <ELA> |\
                    llA    <SG> <ADE> |\
                    ltA    <SG> <ABL> |\
                    lle    <SG> <ALL> |\
                    tta    <SG> <ABE> 

$N04-S1B-INFL$  =   Vn     <SG> <ILL> |\
                    na     <SG> <ESS>

$N04-S2A-INFL$  =   itten  <PL> <GEN> |\
                    iden   <PL> <GEN> |\
                    itA    <PL> <PAR> |\
                    ihin   <PL> <ILL> |\
                    iksI   <PL> <TRA> |\
                    issA   <PL> <INE> |\
                    istA   <PL> <ELA> |\
                    illA   <PL> <ADE> |\
                    iltA   <PL> <ABL> |\
                    ille   <PL> <ALL> |\
                    ittA   <PL> <ABE>

$N04-S2B-INFL$  =   jen    <PL> <GEN> |\
                    jA     <PL> <PAR> |\
                    ihin   <PL> <ILL> |\
                    inA    <PL> <ESS>

$N04-S3-INFL$   =   A     <SG> <PAR>

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

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



$N04$ =     # $N04-S0$   $N04-S0-INFL$ |\
            # $N04-S1A$  $N04-S1A-INFL$  |\
            # $N04-S1B$  $N04-S1B-INFL$  |\
            # $N04-S2A$  $N04-S2A-INFL$  |\
            # $N04-S2B$  $N04-S2B-INFL$  |\
            # $N04-S3$   $N04-S3-INFL$ 


$NOUNS$ = $N01$ | $N04$

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

$I-RULE$ = I  <=> i


$RULES$ = $A-RULE$ || $I-RULE$

$NOUNS$ || $RULES$





-- 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