mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
(Hun) Add possessive stems
This commit is contained in:
@@ -17,6 +17,8 @@ oper
|
|||||||
-- Singular nominative uses the given form, e.g. "alma" or "kefe"
|
-- Singular nominative uses the given form, e.g. "alma" or "kefe"
|
||||||
SgNom => alma ;
|
SgNom => alma ;
|
||||||
|
|
||||||
|
PossdSg_PossrP3 => almá + "j" ;
|
||||||
|
|
||||||
-- The rest of the forms are formed with the regular constructor,
|
-- The rest of the forms are formed with the regular constructor,
|
||||||
-- using "almá" or "kefé" as the stem.
|
-- using "almá" or "kefé" as the stem.
|
||||||
_ => nAlmá.s ! nc }
|
_ => nAlmá.s ! nc }
|
||||||
@@ -34,9 +36,18 @@ oper
|
|||||||
in nLova ** {
|
in nLova ** {
|
||||||
s = \\nc => case nc of {
|
s = \\nc => case nc of {
|
||||||
|
|
||||||
-- All plural forms and Sg Acc, Sg Sup use the "lova" stem
|
-- All plural forms and Sg Acc use the "lova" stem
|
||||||
PlStem | PlAcc | SgAccStem => nLova.s ! nc ;
|
PlStem | PlAcc | SgAccStem
|
||||||
SgSup => nLov.s ! nc ;
|
=> nLova.s ! nc ;
|
||||||
|
|
||||||
|
SgSup | -- Sg Sup has vowel o/ö, not a/e
|
||||||
|
PossdSg_PossrP3 -- Consonant stem before P3 suffixes
|
||||||
|
=> nLov.s ! nc ;
|
||||||
|
|
||||||
|
PossdSg_PossrPl1 -- Round vowel, part of Pl1 suffix
|
||||||
|
=> lov + harm "u" "ü" ! nLov.h ;
|
||||||
|
|
||||||
|
PossdPl => lova + "i" ;
|
||||||
|
|
||||||
-- The rest of the forms are formed with the regular constructor,
|
-- The rest of the forms are formed with the regular constructor,
|
||||||
-- using "ló" as the stem.
|
-- using "ló" as the stem.
|
||||||
@@ -55,8 +66,15 @@ oper
|
|||||||
-- All plural forms and Sg Acc, Sg Sup use the "falu" stem
|
-- All plural forms and Sg Acc, Sg Sup use the "falu" stem
|
||||||
PlStem | PlAcc => nFalva.s ! nc ;
|
PlStem | PlAcc => nFalva.s ! nc ;
|
||||||
|
|
||||||
|
-- The plural morpheme before possessive suffixes is i
|
||||||
|
PossdPl => nFalu.s ! nc + "i" ;
|
||||||
|
|
||||||
|
-- The form before P3 possessive suffixes: faluj|a, faluj|uk
|
||||||
|
-- Forms before other possessive suffixes follow SgAccStem.
|
||||||
|
PossdSg_PossrP3 => nFalu.s ! nc + "j" ;
|
||||||
|
|
||||||
-- The rest of the forms are formed with the regular constructor,
|
-- The rest of the forms are formed with the regular constructor,
|
||||||
-- using "ló" as the stem.
|
-- using "falu" as the stem.
|
||||||
_ => nFalu.s ! nc }
|
_ => nFalu.s ! nc }
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
@@ -74,9 +92,18 @@ oper
|
|||||||
nMajom = mkNoun majom ;
|
nMajom = mkNoun majom ;
|
||||||
in nMajmo ** {
|
in nMajmo ** {
|
||||||
s = \\nc => case nc of {
|
s = \\nc => case nc of {
|
||||||
-- All plural forms and Sg Acc and Sg Sup use the "majmo" stem
|
|
||||||
PlStem | PlAcc | SgAccStem => nMajmo.s ! nc ;
|
SgSup -- All plural forms and Sg Acc and Sg Sup use the "majmo" stem
|
||||||
SgSup => nMajmo.s ! nc ;
|
| PlAcc
|
||||||
|
| PlStem
|
||||||
|
| SgAccStem => nMajmo.s ! nc ;
|
||||||
|
|
||||||
|
-- The plural morpheme before possessive suffixes: majmai
|
||||||
|
PossdPl => majm + harm "a" "e" ! nMajmo.h + "i" ;
|
||||||
|
|
||||||
|
-- The form before P3 possessive suffixes: majm|a, majm|uk
|
||||||
|
-- Forms before other possessive suffixes follow SgAccStem.
|
||||||
|
PossdSg_PossrP3 => majm ;
|
||||||
|
|
||||||
-- The rest of the forms are formed with the regular constructor,
|
-- The rest of the forms are formed with the regular constructor,
|
||||||
-- using "majom" as the stem.
|
-- using "majom" as the stem.
|
||||||
@@ -91,11 +118,23 @@ oper
|
|||||||
let tolla = init tollat ;
|
let tolla = init tollat ;
|
||||||
nTolla = mkNoun tolla ;
|
nTolla = mkNoun tolla ;
|
||||||
nToll = mkNoun toll ;
|
nToll = mkNoun toll ;
|
||||||
|
diákj : Str = case tolla of {
|
||||||
|
x + #v => x ;
|
||||||
|
x + #v + ("sz"|"z"|"s"|"zs"|"j"|"ly"|"l"|"r"|"n"|"ny"|"ssz"
|
||||||
|
|"zz"|"ss"|"ll"|"rr"|"nn"|"ns"|"nsz"|"nz") => tolla ;
|
||||||
|
_ => tolla + "j" } ;
|
||||||
in nTolla ** {
|
in nTolla ** {
|
||||||
s = \\nc => case nc of {
|
s = \\nc => case nc of {
|
||||||
-- All plural forms and Sg Acc use the "tolla" stem
|
-- All plural forms and Sg Acc use the "tolla" stem
|
||||||
PlStem | PlAcc | SgAccStem => nTolla.s ! nc ;
|
PlStem | PlAcc | SgAccStem => nTolla.s ! nc ;
|
||||||
|
|
||||||
|
PossdSg_PossrPl1 => diákj + harm "u" "ü" ! nToll.h ;
|
||||||
|
|
||||||
|
PossdSg_PossrP3 => diákj ;
|
||||||
|
|
||||||
|
-- The plural morpheme before possessive suffixes: madarai
|
||||||
|
PossdPl => diákj + harm "a" "e" ! nToll.h + "i" ;
|
||||||
|
|
||||||
-- The rest of the forms are formed with the regular constructor,
|
-- The rest of the forms are formed with the regular constructor,
|
||||||
-- using "toll" as the stem.
|
-- using "toll" as the stem.
|
||||||
_ => nToll.s ! nc
|
_ => nToll.s ! nc
|
||||||
@@ -305,6 +344,7 @@ oper
|
|||||||
SgSup => harm3 "on" "en" "ön" ;
|
SgSup => harm3 "on" "en" "ön" ;
|
||||||
PlAcc => harm3 "ot" "et" "öt" ;
|
PlAcc => harm3 "ot" "et" "öt" ;
|
||||||
SgAccStem => harm3 "o" "e" "ö" ;
|
SgAccStem => harm3 "o" "e" "ö" ;
|
||||||
|
PossdPl => harm1 "i" ; -- TODO figure out allomorphs
|
||||||
_ => harm1 []
|
_ => harm1 []
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,11 @@ param
|
|||||||
| SgInsStem -- Instrumental and translative: -v after vowels
|
| SgInsStem -- Instrumental and translative: -v after vowels
|
||||||
| SgStem -- Rest of the cases in Sg
|
| SgStem -- Rest of the cases in Sg
|
||||||
| PlStem -- Rest of the cases in Pl
|
| PlStem -- Rest of the cases in Pl
|
||||||
;
|
| PossdSg_PossrP3 -- Possessed item is Sg, possessor is Sg or Pl P3
|
||||||
|
| PossdSg_PossrPl1 -- Possessed item is Sg, possessor is Pl P1
|
||||||
|
| PossdPl -- Possessed item in plural, any possessor.
|
||||||
|
; -- Rest of poss forms use SgAccStem
|
||||||
|
|
||||||
|
|
||||||
Case =
|
Case =
|
||||||
Nom | Acc | Dat
|
Nom | Acc | Dat
|
||||||
|
|||||||
Reference in New Issue
Block a user