mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-10 19:52:50 -06:00
More improvements to the Latvian resource grammar (motivated by PhrasebookLav)
- Few bug-fixes (agreement between Pron and ComplAP; C1 verb paradigm; how8much_IAdv / how8many_IDet). - Differentiation between male and female pronouns. - Irregular verbs now can have prefixes. - Code refactoring.
This commit is contained in:
@@ -12,7 +12,7 @@ flags
|
||||
|
||||
lin
|
||||
UseN n = { s = \\_ => n.s ; g = n.g } ;
|
||||
UsePN pn = { s = pn.s ; a = agrgP3 Sg pn.g } ;
|
||||
UsePN pn = { s = pn.s ; a = agrgP3 pn.n pn.g } ;
|
||||
UsePron p = p ;
|
||||
|
||||
PredetNP pred np = {
|
||||
@@ -21,7 +21,7 @@ lin
|
||||
} ;
|
||||
|
||||
UseN2 n = { s = \\_ => n.s ; g = n.g } ;
|
||||
UseN3 n = n ;
|
||||
--UseN3 n = n ;
|
||||
|
||||
ComplN2 f x = {
|
||||
s = \\_,n,c => preOrPost f.isPre (f.p.s ++ x.s ! (f.p.c ! (fromAgr x.a).n)) (f.s ! n ! c) ;
|
||||
|
||||
Reference in New Issue
Block a user