mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-11-01 02:13:19 -07:00
added GN & SN categories for constructing names
This commit is contained in:
1 parent
d0e433cd46
commit
7085acacc9
55 files changed
+371
-43
No files matched your search
@@ -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