diff --git a/src/hungarian/ParamHun.gf b/src/hungarian/ParamHun.gf index c50686335..2157c654f 100644 --- a/src/hungarian/ParamHun.gf +++ b/src/hungarian/ParamHun.gf @@ -76,7 +76,11 @@ oper -- Verbs param - -- TODO: object agreement + -- For object agreement in V2 + ObjDef = + Def + | Indef ; + VForm = VInf | VFin Person Number ; diff --git a/src/hungarian/ResHun.gf b/src/hungarian/ResHun.gf index f610740f4..e3c36cecc 100644 --- a/src/hungarian/ResHun.gf +++ b/src/hungarian/ResHun.gf @@ -17,14 +17,14 @@ oper NounPhrase : Type = { s : Case => Str ; agr : Person*Number ; - isPron : Bool ; + objdef : ObjDef ; empty : Str ; -- standard trick for pro-drop } ; emptyNP : NounPhrase = { s = \\_ => [] ; agr = ; - isPron = False ; + objdef = Indef ; empty = [] ; } ; diff --git a/src/hungarian/StructuralHun.gf b/src/hungarian/StructuralHun.gf index 945a18ba1..50d6f9528 100644 --- a/src/hungarian/StructuralHun.gf +++ b/src/hungarian/StructuralHun.gf @@ -127,7 +127,7 @@ lin under_Prep = mkPrep "alatt" ; "velem" -- Instrumental nonExist ; -- Translative agr = ; - isPron = True ; + objdef = Def ; poss = "em" ; } ; youPol_Pron, @@ -140,7 +140,7 @@ lin under_Prep = mkPrep "alatt" ; "veled" -- Instrumental nonExist ; -- Translative agr = ; - isPron = True ; + objdef = Def ; poss = "d" ; } ; he_Pron, @@ -152,7 +152,7 @@ lin under_Prep = mkPrep "alatt" ; "érte" -- Causative "vele" -- Instrumental nonExist ; -- Translative - isPron = True ; + objdef = Def ; } ; we_Pron = emptyNP ** { s = caseTable "mi" "minket" "nekünk" @@ -163,7 +163,7 @@ lin under_Prep = mkPrep "alatt" ; "velünk" -- Instrumental nonExist ; -- Translative agr = ; - isPron = True ; + objdef = Def ; } ; youPl_Pron = emptyNP ** { @@ -175,7 +175,7 @@ lin under_Prep = mkPrep "alatt" ; "veletek" -- Instrumental nonExist ; -- Translative agr = ; - isPron = True ; + objdef = Def ; } ; they_Pron = emptyNP ** { s = caseTable "ők" "őket" "nekik" @@ -186,7 +186,7 @@ lin under_Prep = mkPrep "alatt" ; "velük" -- Instrumental nonExist ; -- Translative agr = ; - isPron = True ; + objdef = Def ; } ; --lin whatPl_IP = ;