forked from GitHub/gf-core
added the nominal possessive form NPNomPoss to NPCase in Eng (covering mine, yours, etc)
This commit is contained in:
@@ -36,6 +36,7 @@ resource MorphoEng = open Prelude, (Predef=Predef), ResEng in {
|
||||
s = table {
|
||||
NCase Nom => i ;
|
||||
NPAcc => me ;
|
||||
NPNomPoss => mine ;
|
||||
NCase Gen => my
|
||||
} ;
|
||||
a = toAgr n p g ;
|
||||
|
||||
@@ -78,7 +78,7 @@ concrete NounEng of Noun = CatEng ** open MorphoEng, ResEng, Prelude in {
|
||||
s = \\hasCard,n => artDef ;
|
||||
sp = \\hasCard,n => case <n,hasCard> of {
|
||||
<Sg,False> => table { NCase Gen => "its"; _ => "it" } ;
|
||||
<Pl,False> => table { NCase Nom => "they"; NPAcc => "them"; NCase Gen => "theirs" } ;
|
||||
<Pl,False> => table { NCase Nom => "they"; NPAcc => "them"; _ => "theirs" } ;
|
||||
_ => \\c => artDef
|
||||
}
|
||||
} ;
|
||||
|
||||
@@ -39,7 +39,7 @@ concrete RelativeEng of Relative = CatEng ** open ResEng in {
|
||||
|
||||
IdRP =
|
||||
{ s = table {
|
||||
RC _ (NCase Gen) => "whose" ;
|
||||
RC _ (NCase Gen) | RC _ NPNomPoss => "whose" ;
|
||||
RC Neutr _ => "which" ;
|
||||
RC _ NPAcc => "whom" ;
|
||||
RC _ (NCase Nom) => "who" ;
|
||||
|
||||
@@ -21,9 +21,9 @@ resource ResEng = ParamX ** open Prelude in {
|
||||
param
|
||||
Case = Nom | Gen ;
|
||||
|
||||
-- This is the worst-case $Case$ needed for pronouns.
|
||||
-- This is the worst-case $Case$ needed for pronouns: I, me, my, mine
|
||||
|
||||
NPCase = NCase Case | NPAcc ;
|
||||
NPCase = NCase Case | NPAcc | NPNomPoss ;
|
||||
|
||||
-- Useful macros and conversions:
|
||||
|
||||
@@ -169,7 +169,7 @@ resource ResEng = ParamX ** open Prelude in {
|
||||
{ s = table {
|
||||
NCase Nom => i ;
|
||||
NPAcc => me ;
|
||||
NCase Gen => my
|
||||
NCase Gen | NPNomPoss => my -- works for normal genitives, "whose", etc.
|
||||
} ;
|
||||
a = toAgr n p g ;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user