mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-28 12:26:30 -06:00
started a separate module for names
This commit is contained in:
@@ -116,10 +116,4 @@ concrete ExtendPor of Extend = CatPor ** ExtendRomanceFunctor -
|
||||
youPolPlFem_Pron = pronAgr youPolPl_Pron Fem Pl P2 ;
|
||||
theyFem_Pron = mkPronFrom S.they_Pron "elas" "as" "lhes" "elas" Fem Pl P3 ;
|
||||
|
||||
lin GivenName, MaleSurname, FemaleSurname = \n -> n ;
|
||||
lin FullName gn sn = {
|
||||
s = gn.s ++ sn.s ;
|
||||
g = gn.g
|
||||
} ;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -14,7 +14,8 @@ concrete GrammarPor of Grammar =
|
||||
TextPor - [SC,Temp,Tense,Pol,PPos,PNeg], -- special punctuation
|
||||
IdiomPor,
|
||||
StructuralPor,
|
||||
TensePor
|
||||
TensePor,
|
||||
NamesPor
|
||||
|
||||
** {
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
concrete NamesPor of Names = CatPor ** open ResPor in {
|
||||
|
||||
lin GivenName, MaleSurname, FemaleSurname = \n -> pn2np n ;
|
||||
lin FullName gn sn = pn2np {
|
||||
s = gn.s ++ sn.s ;
|
||||
g = gn.g
|
||||
} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user