1
0
forked from GitHub/gf-rgl

(Hun) Add field for NPs whether it's definite

This commit is contained in:
Inari Listenmaa
2020-04-13 17:30:07 +02:00
parent 8efb9d5621
commit 9da533c809
3 changed files with 13 additions and 9 deletions

View File

@@ -76,7 +76,11 @@ oper
-- Verbs -- Verbs
param param
-- TODO: object agreement -- For object agreement in V2
ObjDef =
Def
| Indef ;
VForm = VForm =
VInf VInf
| VFin Person Number ; | VFin Person Number ;

View File

@@ -17,14 +17,14 @@ oper
NounPhrase : Type = { NounPhrase : Type = {
s : Case => Str ; s : Case => Str ;
agr : Person*Number ; agr : Person*Number ;
isPron : Bool ; objdef : ObjDef ;
empty : Str ; -- standard trick for pro-drop empty : Str ; -- standard trick for pro-drop
} ; } ;
emptyNP : NounPhrase = { emptyNP : NounPhrase = {
s = \\_ => [] ; s = \\_ => [] ;
agr = <P3,Sg> ; agr = <P3,Sg> ;
isPron = False ; objdef = Indef ;
empty = [] ; empty = [] ;
} ; } ;

View File

@@ -127,7 +127,7 @@ lin under_Prep = mkPrep "alatt" ;
"velem" -- Instrumental "velem" -- Instrumental
nonExist ; -- Translative nonExist ; -- Translative
agr = <P1,Sg> ; agr = <P1,Sg> ;
isPron = True ; objdef = Def ;
poss = "em" ; poss = "em" ;
} ; } ;
youPol_Pron, youPol_Pron,
@@ -140,7 +140,7 @@ lin under_Prep = mkPrep "alatt" ;
"veled" -- Instrumental "veled" -- Instrumental
nonExist ; -- Translative nonExist ; -- Translative
agr = <P2,Sg> ; agr = <P2,Sg> ;
isPron = True ; objdef = Def ;
poss = "d" ; poss = "d" ;
} ; } ;
he_Pron, he_Pron,
@@ -152,7 +152,7 @@ lin under_Prep = mkPrep "alatt" ;
"érte" -- Causative "érte" -- Causative
"vele" -- Instrumental "vele" -- Instrumental
nonExist ; -- Translative nonExist ; -- Translative
isPron = True ; objdef = Def ;
} ; } ;
we_Pron = emptyNP ** { we_Pron = emptyNP ** {
s = caseTable "mi" "minket" "nekünk" s = caseTable "mi" "minket" "nekünk"
@@ -163,7 +163,7 @@ lin under_Prep = mkPrep "alatt" ;
"velünk" -- Instrumental "velünk" -- Instrumental
nonExist ; -- Translative nonExist ; -- Translative
agr = <P1,Pl> ; agr = <P1,Pl> ;
isPron = True ; objdef = Def ;
} ; } ;
youPl_Pron = emptyNP ** { youPl_Pron = emptyNP ** {
@@ -175,7 +175,7 @@ lin under_Prep = mkPrep "alatt" ;
"veletek" -- Instrumental "veletek" -- Instrumental
nonExist ; -- Translative nonExist ; -- Translative
agr = <P2,Pl> ; agr = <P2,Pl> ;
isPron = True ; objdef = Def ;
} ; } ;
they_Pron = emptyNP ** { they_Pron = emptyNP ** {
s = caseTable "ők" "őket" "nekik" s = caseTable "ők" "őket" "nekik"
@@ -186,7 +186,7 @@ lin under_Prep = mkPrep "alatt" ;
"velük" -- Instrumental "velük" -- Instrumental
nonExist ; -- Translative nonExist ; -- Translative
agr = <P3,Pl> ; agr = <P3,Pl> ;
isPron = True ; objdef = Def ;
} ; } ;
--lin whatPl_IP = ; --lin whatPl_IP = ;