summaryrefslogtreecommitdiff
path: root/deprecated/old-lib/resource/danish/IdiomDan.gf
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/old-lib/resource/danish/IdiomDan.gf')
-rw-r--r--deprecated/old-lib/resource/danish/IdiomDan.gf38
1 files changed, 38 insertions, 0 deletions
diff --git a/deprecated/old-lib/resource/danish/IdiomDan.gf b/deprecated/old-lib/resource/danish/IdiomDan.gf
new file mode 100644
index 000000000..91c46af12
--- /dev/null
+++ b/deprecated/old-lib/resource/danish/IdiomDan.gf
@@ -0,0 +1,38 @@
+concrete IdiomDan of Idiom = CatDan **
+ open MorphoDan, ParadigmsDan, IrregDan, Prelude in {
+
+ flags optimize=all_subs ;
+
+ lin
+ ImpersCl vp = mkClause "det" (agrP3 MorphoDan.neutrum Sg) vp ;
+ GenericCl vp = mkClause "man" (agrP3 MorphoDan.utrum Sg) vp ;
+
+ CleftNP np rs = mkClause "det" (agrP3 MorphoDan.neutrum Sg)
+ (insertObj (\\_ => np.s ! rs.c ++ rs.s ! np.a) (predV verbBe)) ;
+
+ CleftAdv ad s = mkClause "det" (agrP3 MorphoDan.neutrum Sg)
+ (insertObj (\\_ => ad.s ++ s.s ! Sub) (predV verbBe)) ;
+
+ ExistNP np =
+ mkClause "det" (agrP3 MorphoDan.neutrum Sg) (insertObj
+ (\\_ => np.s ! accusative) (predV (depV finde_V))) ;
+
+ ExistIP ip = {
+ s = \\t,a,p =>
+ let
+ cls =
+ (mkClause "det" (agrP3 MorphoDan.neutrum Sg) (predV (depV finde_V))).s ! t ! a ! p ;
+ who = ip.s ! accusative
+ in table {
+ QDir => who ++ cls ! Inv ;
+ QIndir => who ++ cls ! Sub
+ }
+ } ;
+
+ ProgrVP vp =
+ insertObj (\\a => ["ved å"] ++ infVP vp a) (predV verbBe) ;
+
+ ImpPl1 vp = {s = ["lad os"] ++ infVP vp {gn = Plg ; p = P1}} ;
+
+}
+