forked from GitHub/gf-rgl
added GN & SN categories for constructing names
This commit is contained in:
@@ -56,6 +56,7 @@ lincat
|
||||
N2 = {s : Case => Number => Str; g : AGender; c : Prep} ;
|
||||
N3 = {s : Case => Number => Str; g : AGender; c : Prep} ;
|
||||
|
||||
GN, SN = {s : Case => Str; g : AGender};
|
||||
PN = {s : Case => Str; g : AGender; n : Number};
|
||||
|
||||
linref
|
||||
|
||||
@@ -57,5 +57,12 @@ lin
|
||||
youPolPl_Pron = youPol_Pron ;
|
||||
youPolPlFem_Pron = youPlFem_Pron ;
|
||||
|
||||
lin GivenName, Surname = \n -> n ** {n = Sg} ;
|
||||
lin FullName gn sn = {
|
||||
s = \\c => gn.s ! Nom ++ sn.s ! c ;
|
||||
g = gn.g ;
|
||||
n = Sg
|
||||
} ;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user