mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-17 23:30:14 -06:00
started a separate module for names
This commit is contained in:
@@ -128,7 +128,8 @@ abstract Cat = Common ** {
|
||||
N3 ; -- three-place relational noun e.g. "connection"
|
||||
GN ; -- given name e.g. "George"
|
||||
SN ; -- second name e.g. "Washington"
|
||||
PN ; -- proper name e.g. "Paris"
|
||||
LN ; -- location name e.g. "Sweden"
|
||||
PN ; -- proper name
|
||||
|
||||
-- DEPRECATED: QuantSg, QuantPl
|
||||
--- QuantSg ;-- quantifier ('nucleus' of sing. Det) e.g. "every"
|
||||
|
||||
@@ -297,12 +297,6 @@ fun
|
||||
fun
|
||||
CardCNCard : Card -> CN -> Card ; -- three million, four lakh, six dozen etc
|
||||
|
||||
GivenName : GN -> PN ;
|
||||
MaleSurname : SN -> PN ;
|
||||
FemaleSurname : SN -> PN ;
|
||||
PlSurname : SN -> PN ;
|
||||
FullName : GN -> SN -> PN ;
|
||||
|
||||
fun
|
||||
AnaphPron : NP -> Pron ;
|
||||
|
||||
|
||||
@@ -19,6 +19,6 @@ abstract Grammar =
|
||||
Structural,
|
||||
Idiom,
|
||||
Tense,
|
||||
Names,
|
||||
Transfer
|
||||
;
|
||||
|
||||
|
||||
14
src/abstract/Names.gf
Normal file
14
src/abstract/Names.gf
Normal file
@@ -0,0 +1,14 @@
|
||||
abstract Names = Cat ** {
|
||||
|
||||
fun GivenName : GN -> NP ;
|
||||
MaleSurname : SN -> NP ;
|
||||
FemaleSurname : SN -> NP ;
|
||||
PlSurname : SN -> NP ;
|
||||
FullName : GN -> SN -> NP ;
|
||||
|
||||
fun UseLN : LN -> NP ;
|
||||
PlainLN : LN -> NP ;
|
||||
InLN : LN -> Adv ;
|
||||
AdjLN : AP -> LN -> LN ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user