1
0
forked from GitHub/gf-core

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:
normundsg
2013-12-12 20:42:55 +00:00
parent 630bee9242
commit 53397db86a
7 changed files with 95 additions and 54 deletions
+6 -3
View File
@@ -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 ;