mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
(Fin) move #consonant to Morpho + add oöHarmony
This commit is contained in:
@@ -726,6 +726,11 @@ resource MorphoFin = ResFin ** open Prelude in {
|
|||||||
_ => "y"
|
_ => "y"
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
oöHarmony : Str -> Str = \a -> case a of {
|
||||||
|
"a" => "o" ;
|
||||||
|
_ => "ö"
|
||||||
|
} ;
|
||||||
|
|
||||||
VForms : Type = Predef.Ints 11 => Str ;
|
VForms : Type = Predef.Ints 11 => Str ;
|
||||||
|
|
||||||
vForms12 : (x1,_,_,_,_,_,_,_,_,_,_,x12 : Str) -> VForms =
|
vForms12 : (x1,_,_,_,_,_,_,_,_,_,_,x12 : Str) -> VForms =
|
||||||
@@ -861,6 +866,8 @@ resource MorphoFin = ResFin ** open Prelude in {
|
|||||||
|
|
||||||
vowel : pattern Str = #("a"|"e"|"i"|"o"|"u"|"y"|"ä"|"ö") ;
|
vowel : pattern Str = #("a"|"e"|"i"|"o"|"u"|"y"|"ä"|"ö") ;
|
||||||
|
|
||||||
|
consonant : pattern Str = #("b"|"c"|"d"|"f"|"g"|"h"|"j"|"k"|"l"|"m"|"n"|"p"|"q"|"r"|"s"|"t"|"v"|"w"|"x"|"z") ;
|
||||||
|
|
||||||
-- The following function defines how grade alternation works if it is active.
|
-- The following function defines how grade alternation works if it is active.
|
||||||
-- In general, *whether there is* grade alternation must be given in the lexicon
|
-- In general, *whether there is* grade alternation must be given in the lexicon
|
||||||
-- (cf. "auto - auton" not "audon"; "vihje - vihjeen" not "vihkeen").
|
-- (cf. "auto - auton" not "audon"; "vihje - vihjeen" not "vihkeen").
|
||||||
|
|||||||
@@ -712,8 +712,6 @@ mkVS = overload {
|
|||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
consonant : pattern Str = #("b"|"c"|"d"|"f"|"g"|"h"|"j"|"k"|"l"|"m"|"n"|"p"|"q"|"r"|"s"|"t"|"v"|"w"|"x"|"z") ;
|
|
||||||
|
|
||||||
-- like nForms2, but 2nd argument is Pl Genitive
|
-- like nForms2, but 2nd argument is Pl Genitive
|
||||||
nForms2plGen : (sydan,sydanten : Str) -> NForms = \sydan,sydanten ->
|
nForms2plGen : (sydan,sydanten : Str) -> NForms = \sydan,sydanten ->
|
||||||
table {
|
table {
|
||||||
|
|||||||
Reference in New Issue
Block a user