1
0
forked from GitHub/gf-core

updated Ina so that API compiles

This commit is contained in:
aarne
2010-12-14 09:52:39 +00:00
parent 8a0b3b8ba8
commit 473c986274
9 changed files with 48 additions and 20 deletions

View File

@@ -18,6 +18,8 @@ concrete ConjunctionIna of Conjunction =
isPre = ss.isPre
} ;
ConjRS = conjunctDistrTable Agr ;
-- These fun's are generated from the list cat's.
BaseS = twoSS ;
@@ -28,11 +30,14 @@ concrete ConjunctionIna of Conjunction =
ConsNP xs x = consrTable Case comma xs x ** {a = conjAgr xs.a x.a} ;
BaseAP x y = twoTable Agr x y ** {isPre = andB x.isPre y.isPre} ;
ConsAP xs x = consrTable Agr comma xs x ** {isPre = andB xs.isPre x.isPre} ;
BaseRS x y = twoTable Agr x y ;
ConsRS xs x = consrTable Agr comma xs x ;
lincat
[S] = {s1,s2 : Str} ;
[Adv] = {s1,s2 : Str} ;
[NP] = {s1,s2 : Case => Str ; a : Agr} ;
[AP] = {s1,s2 : Agr => Str ; isPre : Bool} ;
[RS] = {s1,s2 : Agr => Str} ;
}