forked from GitHub/gf-rgl
(Ara) hack to force the case of a NP
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user