mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-11-01 02:13:19 -07:00
coercions from special categories in Construction to N and PN
This commit is contained in:
1 parent
451cef4610
commit
86c9ff1b4c
7 files changed
+52
-7
No files matched your search
@@ -24,10 +24,12 @@ lin
|
||||
|
||||
n_units_AP card cn a = mkAP (lin AdA (mkUtt (mkNP <lin Card card : Card> (lin CN cn)))) (lin A a) ;
|
||||
|
||||
|
||||
bottle_of_CN np = mkCN (lin N2 (mkN2 "bottle")) (lin NP np) ;
|
||||
cup_of_CN np = mkCN (lin N2 (mkN2 "cup")) (lin NP np) ;
|
||||
glass_of_CN np = mkCN (lin N2 (mkN2 "glass")) (lin NP np) ;
|
||||
|
||||
{-
|
||||
-- spatial deixis and motion verbs
|
||||
|
||||
where_go_QCl np = mkQCl where_IAdv (mkCl np (mkVP L.go_V)) ;
|
||||
@@ -44,6 +46,9 @@ lin
|
||||
--TODO "where did X come from" instead of "from where did X come"
|
||||
oper from_where_IAdv : IAdv = lin IAdv (ss "from where") ;
|
||||
|
||||
-}
|
||||
|
||||
|
||||
lincat
|
||||
Weekday = N ;
|
||||
Monthday = NP ;
|
||||
@@ -68,5 +73,9 @@ lincat Language = PN ;
|
||||
|
||||
lin InLanguage l = SyntaxEng.mkAdv in_Prep (mkNP l) ;
|
||||
|
||||
lin
|
||||
weekdayN w = w ;
|
||||
monthN m = m ;
|
||||
languagePN l = l ;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user