mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 08:58:55 -06:00
added NamesAra
This commit is contained in:
@@ -92,7 +92,7 @@ concrete CatAra of Cat = CommonX - [Utt] ** open ResAra, Prelude, ParamX in {
|
||||
N = ResAra.Noun ;
|
||||
N2 = ResAra.Noun2 ;
|
||||
N3 = ResAra.Noun3 ;
|
||||
PN = {s : Case => Str; g : Gender; h : Species} ;
|
||||
GN, SN, LN, PN = {s : Case => Str; g : Gender; h : Species} ;
|
||||
|
||||
linref
|
||||
|
||||
|
||||
17
src/arabic/NamesAra.gf
Normal file
17
src/arabic/NamesAra.gf
Normal file
@@ -0,0 +1,17 @@
|
||||
concrete NamesAra of Names = CatAra ** open ResAra, Prelude in {
|
||||
|
||||
lin GivenName, MaleSurname, FemaleSurname, PlSurname = \n -> emptyNP ** {
|
||||
s = n.s ;
|
||||
a = {pgn = Per3 n.g Sg ; isPron = False} ;
|
||||
} ;
|
||||
lin FullName gn sn = emptyNP ** {
|
||||
s = \\c => gn.s ! c ++ sn.s ! c ;
|
||||
a = {pgn = Per3 gn.g Sg ; isPron = False} ;
|
||||
} ;
|
||||
|
||||
lin UseLN pn = emptyNP ** {
|
||||
s = pn.s ;
|
||||
a = {pgn = Per3 pn.g Sg ; isPron = False} ;
|
||||
} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user