1
0
forked from GitHub/gf-rgl

(Ara) hack to force the case of a NP

This commit is contained in:
Inari Listenmaa
2019-01-02 13:39:28 +02:00
parent 829ab04dcf
commit b325a61299

View File

@@ -1121,7 +1121,6 @@ patGeminateImp : (_,_ :Str) -> Gender => Number => Str = \facc,facic ->
_ => brkPl word ! s ! c
} ;
-- takes a singular word and tests the ending to
-- determine the declension and gives the corresponding dual inf table
dual : Str -> State => Case => Str = \caSaA ->
@@ -1449,6 +1448,11 @@ patGeminateImp : (_,_ :Str) -> Gender => Number => Str = \facc,facic ->
empty : Str -- to prevent ambiguities with prodrop
} ;
-- hack, but better to have it here than to define ad hoc in every application grammar /IL
forceCase : NP -> Case -> NP = \np,c -> np ** {
s = \\_ => np.s ! c
} ;
mkPron : (_,_,_ : Str) -> PerGenNum -> NP = \ana,nI,I,pgn ->
{ s =
table {