mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-15 14:12:51 -06:00
Latvian: code refactoring (an intermediate step) and few bugfixes
This commit is contained in:
@@ -10,29 +10,32 @@ flags
|
||||
|
||||
lin
|
||||
|
||||
SymbPN i = {s = \\_ => i.s ; g = Masc ; n = Sg} ;
|
||||
IntPN i = {s = \\_ => i.s ; g = Masc ; n = Pl} ;
|
||||
FloatPN i = {s = \\_ => i.s ; g = Masc ; n = Pl} ;
|
||||
NumPN i = {s = \\_ => i.s ! Masc ! Nom ; g = Masc ; n = Pl} ;
|
||||
SymbPN i = {s = \\_ => i.s ; gend = Masc ; num = Sg} ;
|
||||
IntPN i = {s = \\_ => i.s ; gend = Masc ; num = Pl} ;
|
||||
FloatPN i = {s = \\_ => i.s ; gend = Masc ; num = Pl} ;
|
||||
NumPN i = {s = \\_ => i.s ! Masc ! Nom ; gend = Masc ; num = Pl} ;
|
||||
|
||||
CNIntNP cn i = {
|
||||
s = \\_ => cn.s ! Indef ! Sg ! Nom ++ i.s ;
|
||||
a = AgP3 Sg cn.g Pos
|
||||
agr = AgrP3 Sg cn.gend ;
|
||||
pol = Pos
|
||||
} ;
|
||||
|
||||
CNSymbNP det cn xs = {
|
||||
s = \\_ => det.s ! cn.g ! Nom ++ cn.s ! det.d ! det.n ! Nom ++ xs.s ;
|
||||
a = AgP3 det.n cn.g Pos
|
||||
s = \\_ => det.s ! cn.gend ! Nom ++ cn.s ! det.defin ! det.num ! Nom ++ xs.s ;
|
||||
agr = AgrP3 det.num cn.gend ;
|
||||
pol = Pos
|
||||
} ;
|
||||
|
||||
CNNumNP cn i = {
|
||||
s = \\_ => cn.s ! Indef ! Sg ! Nom ++ i.s ! Masc ! Nom ;
|
||||
a = AgP3 Sg cn.g Pos
|
||||
agr = AgrP3 Sg cn.gend ;
|
||||
pol = Pos
|
||||
} ;
|
||||
|
||||
SymbS sy = sy ;
|
||||
|
||||
SymbNum sy = { s = \\_,_ => sy.s ; n = Pl } ;
|
||||
SymbNum sy = { s = \\_,_ => sy.s ; num = Pl } ;
|
||||
SymbOrd sy = { s = \\_,_ => sy.s ++ "."} ;
|
||||
|
||||
lincat
|
||||
|
||||
Reference in New Issue
Block a user