summaryrefslogtreecommitdiff
path: root/next-lib/src/scandinavian
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-10-03 20:42:09 +0000
committeraarne <aarne@cs.chalmers.se>2008-10-03 20:42:09 +0000
commit24207d40e9cb56173de22d9a424975f0da0bc416 (patch)
tree2c221dc4e6f9f7a4d665fe118e0cda12d3ea7290 /next-lib/src/scandinavian
parent27de3c0e7b13a4674cf5829ccbb00b118e916ae8 (diff)
extended AP with Ord and compar in 1.5
Diffstat (limited to 'next-lib/src/scandinavian')
-rw-r--r--next-lib/src/scandinavian/AdjectiveScand.gf17
1 files changed, 15 insertions, 2 deletions
diff --git a/next-lib/src/scandinavian/AdjectiveScand.gf b/next-lib/src/scandinavian/AdjectiveScand.gf
index 1570574cb..3dfe36fec 100644
--- a/next-lib/src/scandinavian/AdjectiveScand.gf
+++ b/next-lib/src/scandinavian/AdjectiveScand.gf
@@ -15,8 +15,18 @@ incomplete concrete AdjectiveScand of Adjective =
++ conjThan ++ np.s ! nominative ;
isPre = False
} ;
+ UseComparA a = {
+ s = \\ap => case a.isComp of {
+ True => compMore ++ a.s ! AF (APosit ap) Nom ;
+ _ => a.s ! AF ACompar Nom
+ } ;
+ isPre = False
+ } ;
--- $SuperlA$ belongs to determiner syntax in $Noun$.
+ AdjOrd ord = {
+ s = \\_ => ord.s ;
+ isPre = True
+ } ;
ComplA2 a np = {
s = \\ap => a.s ! AF (APosit ap) Nom ++ a.c2.s ++ np.s ! accusative ;
@@ -39,6 +49,9 @@ incomplete concrete AdjectiveScand of Adjective =
isPre = ap.isPre
} ;
- UseA2 a = a ;
+ UseA2 a = {
+ s = \\ap => a.s ! AF (APosit ap) Nom ;
+ isPre = True
+ } ;
}