forked from GitHub/gf-core
some additions to lib API
This commit is contained in:
@@ -737,7 +737,9 @@ incomplete resource Constructors = open Grammar in {
|
||||
|
||||
-- Existentials are a special construction.
|
||||
|
||||
mkQCl : IP -> QCl -- 8. what is there --# notminimal
|
||||
mkQCl : IP -> QCl ; -- 8. what is there --# notminimal
|
||||
mkQCl : IComp -> NP -> QCl ; -- 9. who is John --# notminimal
|
||||
|
||||
} ; --# notminimal
|
||||
|
||||
|
||||
@@ -1399,8 +1401,9 @@ incomplete resource Constructors = open Grammar in {
|
||||
mkQCl : IP -> NP -> QCl -- who is John --# notminimal
|
||||
= \a -> QuestIComp (CompIP a) ; --# notminimal
|
||||
mkQCl : IP -> QCl -- which houses are there --# notminimal
|
||||
= ExistIP --# notminimal
|
||||
|
||||
= ExistIP ; --# notminimal
|
||||
mkQCl : IComp -> NP -> QCl -- who is John --# notminimal
|
||||
= \a -> QuestIComp a ; --# notminimal
|
||||
} ;
|
||||
|
||||
mkIP = overload {
|
||||
|
||||
@@ -89,4 +89,10 @@ concrete ExtraFin of ExtraFinAbs = CatFin **
|
||||
|
||||
IAdvAdv adv = {s = "kuinka" ++ adv.s} ;
|
||||
|
||||
ProDrop p = {
|
||||
s = table {NPCase (Nom | Gen) => [] ; c => p.s ! c} ;
|
||||
---- drop Gen only works in adjectival position
|
||||
a = p.a
|
||||
} ;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
abstract ExtraFinAbs = Extra [
|
||||
GenNP,VPI,ListVPI,BaseVPI,ConsVPI,MkVPI,ComplVPIVV,ConjVPI,
|
||||
VV,VP,Conj,NP,Quant,IAdv,IComp,ICompAP,IAdvAdv,Adv,AP] ** {
|
||||
VV,VP,Conj,NP,Quant,IAdv,IComp,ICompAP,IAdvAdv,Adv,AP, Pron, ProDrop] ** {
|
||||
|
||||
fun
|
||||
AdvExistNP : Adv -> NP -> Cl ; -- kuvassa olemme me
|
||||
|
||||
Reference in New Issue
Block a user