mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-23 18:21:11 -06:00
started a separate module for names
This commit is contained in:
14
src/swedish/NamesSwe.gf
Normal file
14
src/swedish/NamesSwe.gf
Normal file
@@ -0,0 +1,14 @@
|
||||
concrete NamesSwe of Names = CatSwe ** open CommonScand, ResSwe, Prelude in {
|
||||
|
||||
lin GivenName, MaleSurname, FemaleSurname = \pn -> {
|
||||
s = \\c => pn.s ! caseNP c ;
|
||||
a = agrP3 pn.g Sg ;
|
||||
isPron = False
|
||||
} ;
|
||||
lin FullName gn sn = {
|
||||
s = \\c => gn.s ! Nom ++ sn.s ! caseNP c ;
|
||||
a = agrP3 gn.g Sg ;
|
||||
isPron = False
|
||||
} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user