mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-08 06:36:32 -06:00
Latvian: CN and NP types are extended with a Bool field for tracking whether a relative clause has been used
This is used for inserting the closing comma if necessary, and later will be used also for adjusting the word order.
This commit is contained in:
@@ -18,19 +18,22 @@ lin
|
||||
CNIntNP cn i = {
|
||||
s = \\_ => cn.s ! Indef ! Sg ! Nom ++ i.s ;
|
||||
agr = AgrP3 Sg cn.gend ;
|
||||
pol = Pos
|
||||
pol = Pos ;
|
||||
isRel = False
|
||||
} ;
|
||||
|
||||
CNSymbNP det cn xs = {
|
||||
s = \\_ => det.s ! cn.gend ! Nom ++ cn.s ! det.defin ! det.num ! Nom ++ xs.s ;
|
||||
agr = AgrP3 det.num cn.gend ;
|
||||
pol = Pos
|
||||
pol = Pos ;
|
||||
isRel = False
|
||||
} ;
|
||||
|
||||
CNNumNP cn i = {
|
||||
s = \\_ => cn.s ! Indef ! Sg ! Nom ++ i.s ! Masc ! Nom ;
|
||||
agr = AgrP3 Sg cn.gend ;
|
||||
pol = Pos
|
||||
pol = Pos ;
|
||||
isRel = False
|
||||
} ;
|
||||
|
||||
SymbS sy = sy ;
|
||||
|
||||
Reference in New Issue
Block a user