forked from GitHub/gf-rgl
(Basque) Add ExistNP, GenNP and ICompAP; remove from Missing
This commit is contained in:
18
src/basque/ExtendEus.gf
Normal file
18
src/basque/ExtendEus.gf
Normal file
@@ -0,0 +1,18 @@
|
||||
--# -path=.:../common:../abstract
|
||||
|
||||
concrete ExtendEus of Extend =
|
||||
CatEus ** ExtendFunctor - [GenNP,ICompAP]
|
||||
with (Grammar=GrammarEus)
|
||||
** open Prelude, ResEus in {
|
||||
|
||||
lin
|
||||
GenNP np = -- NP -> Quant ; -- this man's
|
||||
{ s = artDef ;
|
||||
indep, isDef = True ;
|
||||
pref = np.s ! Gen } ;
|
||||
|
||||
|
||||
ICompAP ap = -- AP -> IComp ; -- "how old"
|
||||
{ s = "nola" ++ ap.s ! Hau } ; --TODO agreement -- change type of IComp
|
||||
} ;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
--1 Idiom: Idiomatic Expressions
|
||||
|
||||
concrete IdiomEus of Idiom = CatEus ** open Prelude, ResEus in {
|
||||
concrete IdiomEus of Idiom = CatEus ** open Prelude, ResEus, VerbEus in {
|
||||
|
||||
-- This module defines constructions that are formed in fixed ways,
|
||||
-- often different even in closely related languages.
|
||||
@@ -16,9 +16,12 @@ concrete IdiomEus of Idiom = CatEus ** open Prelude, ResEus in {
|
||||
{-
|
||||
CleftNP : NP -> RS -> Cl ; -- it is I who did it
|
||||
CleftAdv : Adv -> S -> Cl ; -- it is here she slept
|
||||
|
||||
ExistNP : NP -> Cl ; -- there is a house
|
||||
ExistIP : IP -> QCl ; -- which houses are there
|
||||
-}
|
||||
-- : NP -> Cl ; -- there is a house
|
||||
ExistNP np = let vp = UseComp (CompNP np)
|
||||
in clFromVP empty_NP vp ;
|
||||
|
||||
{- ExistIP : IP -> QCl ; -- which houses are there
|
||||
|
||||
-- 7/12/2012 generalizations of these
|
||||
|
||||
|
||||
@@ -10,11 +10,8 @@ oper ComparAdvAdjS : CAdv -> A -> S -> Adv = notYet "ComparAdvAdjS" ;
|
||||
oper ComplSlashIP : VPSlash -> IP -> QVP = notYet "ComplSlashIP" ;
|
||||
oper ExistIP : IP -> QCl = notYet "ExistIP" ;
|
||||
oper ExistIPAdv : IP -> Adv -> QCl = notYet "ExistIPAdv" ;
|
||||
oper ExistNP : NP -> Cl = notYet "ExistNP" ;
|
||||
oper ExistNPAdv : NP -> Adv -> Cl= notYet "ExistNPAdv" ;
|
||||
oper GenericCl : VP -> Cl = notYet "GenericCl" ;
|
||||
oper ImpP3 : NP -> VP -> Utt = notYet "ImpP3" ;
|
||||
oper ImpersCl : VP -> Cl = notYet "ImpersCl" ;
|
||||
oper QuestQVP : IP -> QVP -> QCl = notYet "QuestQVP" ;
|
||||
oper SelfAdVVP : VP -> VP = notYet "SelfAdVVP" ;
|
||||
oper SelfAdvVP : VP -> VP = notYet "SelfAdvVP" ;
|
||||
|
||||
Reference in New Issue
Block a user