mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-09-01 17:06:58 -06:00
started a separate module for names
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
concrete NamesTur of Names = CatTur ** open ResTur in {
|
||||
|
||||
lin GivenName, MaleSurname, FemaleSurname = \n -> {
|
||||
s = \\c => n.s ! c;
|
||||
h = n.h;
|
||||
a = {n = Sg; p = P3}
|
||||
} ;
|
||||
lin PlSurname = \n -> {
|
||||
s = \\c => n.s ! c;
|
||||
h = n.h;
|
||||
a = {n = Pl; p = P3}
|
||||
} ;
|
||||
lin FullName gn sn = {
|
||||
s = \\c => gn.s ! Nom ++ sn.s ! c;
|
||||
h = sn.h;
|
||||
a = {n = Sg; p = P3}
|
||||
} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user