mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
Dutch morphology and documentation table fixes
This commit is contained in:
@@ -40,14 +40,16 @@ lin
|
|||||||
gforms : AForm -> Str = \a ->
|
gforms : AForm -> Str = \a ->
|
||||||
td (adj.s ! Posit ! a) ++
|
td (adj.s ! Posit ! a) ++
|
||||||
td (adj.s ! Compar ! a) ++
|
td (adj.s ! Compar ! a) ++
|
||||||
td (adj.s ! Superl ! a) ;
|
case a of {
|
||||||
|
AGen => td "-" ; -- superlative partitive not used
|
||||||
|
_ => td (adj.s ! Superl ! a)
|
||||||
|
} ;
|
||||||
dtable : Str =
|
dtable : Str =
|
||||||
frameTable (
|
frameTable (
|
||||||
tr (th [] ++ th (heading positive_Parameter) ++ th (heading comparative_Parameter) ++
|
tr (th [] ++ th (heading positive_Parameter) ++ th (heading comparative_Parameter) ++
|
||||||
th (heading superlative_Parameter)) ++
|
th (heading superlative_Parameter)) ++
|
||||||
tr (th (heading predicative_Parameter) ++ gforms APred) ++
|
tr (th (heading predicative_Parameter) ++ gforms APred) ++
|
||||||
tr (th (heading attributive_Parameter) ++ gforms APred) ++
|
tr (th (heading attributive_Parameter) ++ gforms AAttr) ++
|
||||||
tr (th (heading partitive_Parameter) ++ gforms AGen)
|
tr (th (heading partitive_Parameter) ++ gforms AGen)
|
||||||
)
|
)
|
||||||
in { t = "a" ;
|
in { t = "a" ;
|
||||||
@@ -165,11 +167,12 @@ oper
|
|||||||
++ td (vfin VPastPl) --# notpresent
|
++ td (vfin VPastPl) --# notpresent
|
||||||
)) ++
|
)) ++
|
||||||
frameTable (
|
frameTable (
|
||||||
tr (th (heading imperative_Parameter ++ "Sg.2") ++ td (vfin VImp2)) ++
|
tr (th (heading imperative_Parameter ++ heading singular_Parameter) ++ td (vfin VImp2 ++ Predef.BIND ++ "," ++ vfin VImp3)) ++
|
||||||
tr (th (heading imperative_Parameter ++ "Sg.3") ++ td (vfin VImp3)) ++
|
tr (th (heading imperative_Parameter ++ heading plural_Parameter) ++ td (vfin (VImpPl))) ++
|
||||||
tr (th (heading imperative_Parameter ++ "Pl.2") ++ td (vfin (VImpPl))) ++
|
|
||||||
tr (th (heading infinitive_Parameter) ++ td (verb.s ! VInf)) ++
|
tr (th (heading infinitive_Parameter) ++ td (verb.s ! VInf)) ++
|
||||||
tr (th (heading perfect_Parameter ++ heading participle_Parameter) ++ td (verb.s ! VPerf)) ++
|
tr (th (heading past_Parameter ++ heading participle_Parameter) ++ td (verb.s ! VPerf)) ++
|
||||||
|
tr (th (heading present_Parameter ++ heading participle_Parameter) ++ td (verb.s ! VPresPart)) ++
|
||||||
|
tr (th (heading gerund_Parameter) ++ td (verb.s ! VGer)) ++
|
||||||
tr (th (heading aux_verb_Parameter) ++ td (case verb.aux of {VHebben => "hebben" ; VZijn => "zijn"}))
|
tr (th (heading aux_verb_Parameter) ++ td (case verb.aux of {VHebben => "hebben" ; VZijn => "zijn"}))
|
||||||
) ;
|
) ;
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ lin
|
|||||||
brown_A = mkA "bruin" ;
|
brown_A = mkA "bruin" ;
|
||||||
buy_V2 = mkV2 (mkV "kopen" "kocht" "gekocht") ;
|
buy_V2 = mkV2 (mkV "kopen" "kocht" "gekocht") ;
|
||||||
child_N = mkN "kind" "kinderen" neuter ;
|
child_N = mkN "kind" "kinderen" neuter ;
|
||||||
come_V = zijnV (mkV "kom" "komt" "komen" "kwam" "kwame" "gekomen") ;
|
come_V = zijnV (mkV "kom" "komt" "komen" "kwam" "kwamen" "gekomen") ;
|
||||||
die_V = zijnV (mkV "sterven" "stierf" "gestorven") ;
|
die_V = zijnV (mkV "sterven" "stierf" "gestorven") ;
|
||||||
distance_N3 = mkN3 (mkN "afstand") van_Prep (mkPrep "naar") ;
|
distance_N3 = mkN3 (mkN "afstand") van_Prep (mkPrep "naar") ;
|
||||||
drink_V2 = mkV2 drinken_V ;
|
drink_V2 = mkV2 drinken_V ;
|
||||||
|
|||||||
@@ -76,8 +76,8 @@ resource ResDut = ParamX ** open Prelude in {
|
|||||||
mkAdjective : (_,_,_,_,_ : Str) -> Adjective = \ap,aa,ag,ac,as -> {
|
mkAdjective : (_,_,_,_,_ : Str) -> Adjective = \ap,aa,ag,ac,as -> {
|
||||||
s = table {
|
s = table {
|
||||||
Posit => table {APred => ap ; AAttr => aa ; AGen => ag} ;
|
Posit => table {APred => ap ; AAttr => aa ; AGen => ag} ;
|
||||||
Compar => table {APred => ac ; AAttr => ac + "e" ; AGen => ac + "es"} ; ----
|
Compar => table {APred => ac ; AAttr => ac + "e" ; AGen => ac + "s"} ; ----
|
||||||
Superl => table {APred => as ; AAttr => as + "e" ; AGen => as + "es"} ----
|
Superl => table {APred => as ; AAttr => as + "e" ; AGen => as + "s"} ----
|
||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
regAdjective : Str -> Adjective = \s -> ----
|
regAdjective : Str -> Adjective = \s -> ----
|
||||||
@@ -114,6 +114,8 @@ resource ResDut = ParamX ** open Prelude in {
|
|||||||
| VImp3 -- weest
|
| VImp3 -- weest
|
||||||
| VImpPl -- wezen
|
| VImpPl -- wezen
|
||||||
| VPerf -- geweest
|
| VPerf -- geweest
|
||||||
|
| VPresPart -- zijnde
|
||||||
|
| VGer -- zijnde
|
||||||
;
|
;
|
||||||
|
|
||||||
VPart = VPart_aan | VPart_af | VPart_be ;
|
VPart = VPart_aan | VPart_af | VPart_be ;
|
||||||
@@ -129,7 +131,9 @@ resource ResDut = ParamX ** open Prelude in {
|
|||||||
VPresSg2 | VPresSg3 | VImp3 => aait; -- jij aait
|
VPresSg2 | VPresSg3 | VImp3 => aait; -- jij aait
|
||||||
VPastSg => aaide; -- ik aaide --# notpresent
|
VPastSg => aaide; -- ik aaide --# notpresent
|
||||||
VPastPl => aaiden; -- hij/zij/het/wij aaiden --# notpresent
|
VPastPl => aaiden; -- hij/zij/het/wij aaiden --# notpresent
|
||||||
VPerf => geaaid -- ik heb geaaid
|
VPerf => geaaid ; -- ik heb geaaid
|
||||||
|
VPresPart => aaien + "de" ;
|
||||||
|
VGer => aaien + "d"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -287,7 +291,9 @@ resource ResDut = ParamX ** open Prelude in {
|
|||||||
VImp2 => "wees" ;
|
VImp2 => "wees" ;
|
||||||
VImp3 => "weest" ;
|
VImp3 => "weest" ;
|
||||||
VImpPl => "wezen" ;
|
VImpPl => "wezen" ;
|
||||||
VPerf => "geweest"
|
VPerf => "geweest" ;
|
||||||
|
VPresPart => "zijnde" ;
|
||||||
|
VGer => "wezend"
|
||||||
} ;
|
} ;
|
||||||
aux = VZijn ;
|
aux = VZijn ;
|
||||||
prefix = [] ;
|
prefix = [] ;
|
||||||
@@ -306,7 +312,9 @@ resource ResDut = ParamX ** open Prelude in {
|
|||||||
VImp2 => "heb" ;
|
VImp2 => "heb" ;
|
||||||
VImp3 => "heeft" ;
|
VImp3 => "heeft" ;
|
||||||
VImpPl => "hebben" ;
|
VImpPl => "hebben" ;
|
||||||
VPerf => "gehad"
|
VPerf => "gehad" ;
|
||||||
|
VPresPart => "hebbende" ;
|
||||||
|
VGer => "hebbend"
|
||||||
} ;
|
} ;
|
||||||
aux = VHebben ;
|
aux = VHebben ;
|
||||||
prefix = [] ;
|
prefix = [] ;
|
||||||
@@ -325,7 +333,9 @@ resource ResDut = ParamX ** open Prelude in {
|
|||||||
VImp2 => "zoud" ; ---- not used
|
VImp2 => "zoud" ; ---- not used
|
||||||
VImp3 => "zoudt" ;
|
VImp3 => "zoudt" ;
|
||||||
VImpPl => "zouden" ; ----
|
VImpPl => "zouden" ; ----
|
||||||
VPerf => "gezoudt"
|
VPerf => "gezoudt" ;
|
||||||
|
VPresPart => "zullende" ;
|
||||||
|
VGer => "zullend"
|
||||||
} ;
|
} ;
|
||||||
aux = VHebben ;
|
aux = VHebben ;
|
||||||
prefix = [] ;
|
prefix = [] ;
|
||||||
@@ -344,7 +354,9 @@ resource ResDut = ParamX ** open Prelude in {
|
|||||||
VImp2 => "kan" ; ---- not used
|
VImp2 => "kan" ; ---- not used
|
||||||
VImp3 => "kant" ;
|
VImp3 => "kant" ;
|
||||||
VImpPl => "kunnen" ; ----
|
VImpPl => "kunnen" ; ----
|
||||||
VPerf => "gekund"
|
VPerf => "gekund" ;
|
||||||
|
VPresPart => "kunnende" ;
|
||||||
|
VGer => "kunnend"
|
||||||
} ;
|
} ;
|
||||||
aux = VHebben ;
|
aux = VHebben ;
|
||||||
prefix = [] ;
|
prefix = [] ;
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ lin
|
|||||||
|
|
||||||
participle_Parameter = mkN "deelwoord" ;
|
participle_Parameter = mkN "deelwoord" ;
|
||||||
aux_verb_Parameter = mkN "hulpwerkwoord" ;
|
aux_verb_Parameter = mkN "hulpwerkwoord" ;
|
||||||
|
gerund_Parameter = mkN "gerundivum" ;
|
||||||
|
|
||||||
positive_Parameter = mkN "stellend" ;
|
positive_Parameter = mkN "stellend" ;
|
||||||
comparative_Parameter = mkN "vergrotend" ;
|
comparative_Parameter = mkN "vergrotend" ;
|
||||||
|
|||||||
Reference in New Issue
Block a user