(Ara) Add proDrop function to the API

This commit is contained in:
Inari Listenmaa
2018-11-12 14:25:16 +01:00
parent 64b07cd352
commit 2159d4b0be
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -1201,6 +1201,14 @@ patHollowImp : (_,_ :Str) -> Gender => Number => Str =\xaf,xAf ->
a : Agr
} ;
proDrop : NP -> NP = \np ->
case np.a.isPron of {
True => np ** {s = \\_ => []};
_ => np
} ;
emptyNP : NP = {s = \\_ => [] ; a = {pgn = Per3 Masc Sg ; isPron = False}} ;
IP : Type = {
s : Bool -- different forms for "what is this" and "what do you do"
=> State => Case -- because of PrepIP: e.g. "in which" chooses definite accusative