mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-15 14:12:51 -06:00
Latvian: an optimized NP linearization type => fixed the double negation support in VPS
The flag indicating whether a NP has a negated determiner is now encapsulated in the algebraic parameter Agr, removing the extra field in the NP linearization type.
This commit is contained in:
@@ -17,20 +17,17 @@ lin
|
||||
|
||||
CNIntNP cn i = {
|
||||
s = \\_ => cn.s ! Indef ! Sg ! Nom ++ i.s ;
|
||||
a = agrgP3 Sg cn.g ;
|
||||
isNeg = False
|
||||
a = AgP3 Sg cn.g Pos
|
||||
} ;
|
||||
|
||||
CNSymbNP det cn xs = {
|
||||
s = \\_ => det.s ! cn.g ! Nom ++ cn.s ! det.d ! det.n ! Nom ++ xs.s ;
|
||||
a = agrgP3 det.n cn.g ;
|
||||
isNeg = False
|
||||
a = AgP3 det.n cn.g Pos
|
||||
} ;
|
||||
|
||||
CNNumNP cn i = {
|
||||
s = \\_ => cn.s ! Indef ! Sg ! Nom ++ i.s ! Masc ! Nom ;
|
||||
a = agrgP3 Sg cn.g ;
|
||||
isNeg = False
|
||||
a = AgP3 Sg cn.g Pos
|
||||
} ;
|
||||
|
||||
SymbS sy = sy ;
|
||||
|
||||
Reference in New Issue
Block a user