summaryrefslogtreecommitdiff
path: root/grammars/resource/german/Predication.gf
diff options
context:
space:
mode:
authoraarne <unknown>2003-11-12 12:22:53 +0000
committeraarne <unknown>2003-11-12 12:22:53 +0000
commiteb245228482fbf9798ea6ddc01753d5a1e40b2c1 (patch)
tree4ad6de972b986b0bce207d7b80bc1fb79153674c /grammars/resource/german/Predication.gf
parent54c72f5ab023c0cdac83eb28dd1f81d4cd35aeae (diff)
Made changes required by lock fields; not yet in Swedish and Finnish.
Diffstat (limited to 'grammars/resource/german/Predication.gf')
-rw-r--r--grammars/resource/german/Predication.gf12
1 files changed, 7 insertions, 5 deletions
diff --git a/grammars/resource/german/Predication.gf b/grammars/resource/german/Predication.gf
index 283718498..37572b4c1 100644
--- a/grammars/resource/german/Predication.gf
+++ b/grammars/resource/german/Predication.gf
@@ -1,3 +1,4 @@
+--# -path=.:../abstract:../../prelude
--1 A Small Predication Library
--
@@ -28,13 +29,13 @@ oper
-- Individual-valued function applications.
appFun1 : Fun -> NP -> NP ; -- one-place function: "the successor of x"
- appFun2 : Fun -> NP -> NP -> NP ; -- two-place function: "the line from x to y"
+ appFun2 : Fun2 -> NP -> NP -> NP ; -- two-place function: "the line from x to y"
appFunColl : Fun -> NP -> NP -> NP ; -- collective function: "the sum of x and y"
-- Families of types, expressed by common nouns depending on arguments.
appFam1 : Fun -> NP -> CN ; -- one-place family: "divisor of x"
- appFam2 : Fun -> NP -> NP -> CN ; -- two-place family: "line from x to y"
+ appFam2 : Fun2 -> NP -> NP -> CN ; -- two-place family: "line from x to y"
appFamColl : Fun -> NP -> NP -> CN ; -- collective family: "path between x and y"
-- Type constructor, similar to a family except that the argument is a type.
@@ -65,10 +66,10 @@ oper
predV1 = \F, x -> PredVP x (PosV F) ;
predV2 = \F, x, y -> PredVP x (PosTV F y) ;
predVColl = \F, x, y -> PredVP (conjNP x y) (PosV F) ;
- predA1 = \F, x -> PredVP x (PosA F) ;
+ predA1 = \F, x -> PredVP x (PosA (AdjP1 F)) ;
predA2 = \F, x, y -> PredVP x (PosA (ComplAdj F y)) ;
predAComp = \F, x, y -> PredVP x (PosA (ComparAdjP F y)) ;
- predAColl = \F, x, y -> PredVP (conjNP x y) (PosA F) ;
+ predAColl = \F, x, y -> PredVP (conjNP x y) (PosA (AdjP1 F)) ;
predN1 = \F, x -> PredVP x (PosCN (UseN F)) ;
predN2 = \F, x, y -> PredVP x (PosCN (AppFun F y)) ;
predNColl = \F, x, y -> PredVP (conjNP x y) (PosCN (UseN F)) ;
@@ -85,7 +86,8 @@ oper
disjS = \A, B -> ConjS OrConj (TwoS A B) ;
implS = \A, B -> SubjS IfSubj A B ;
- ifThenS = \A,B -> SubjS IfSubj A {s = \\o => "then" ++ B.s ! o} ; --- not in Res
+ ifThenS = \A,B ->
+ SubjS IfSubj A {s = \\o => "then" ++ B.s ! o ; lock_S = <>} ; --- not in Res
constrTyp1 = \F, A -> AppFun F (IndefManyNP A) ;