Commit Graph

6 Commits

Author SHA1 Message Date
normundsg
120e616a28 Latvian: if ~object~ is a Pron and is not modified by a RCl, it is more natural/neutral if it precedes the verb. For this, the lin types of NP and Adv are extended with a boolean field isPron (in addition to the previously introduced isRel field that indicates whether a CN or NP is modified by a RCl). 2013-12-16 19:08:38 +00:00
normundsg
aa80b55f2a Latvian: code refactoring (an intermediate step) and few bugfixes 2013-05-10 12:03:42 +00:00
normundsg
6f4befae68 Latvian: finally handles PassV2 clauses in a more or less adequate way
Extends the previously introduced support for specifying the verb valence (verb-dependent subject and object cases), involving functions up to PredVP and RelVP.

In Latvian, the passive voice is not used if the agent (subject) is known; to preserve the information structure (i.e. the word order), a clause like 'A is <done> by B' is linearized in the active voice ('A <does> B') where A has the object case (e.g. Acc), and B - the subject case (e.g. Nom). Thus, the verb valence patterns are swapped on-the-fly.

This is still a rather quick & dirty implementation: parameters and linearization types have to be optimized (VerbLav), the use of PassV2 in AdvVP is problematic as it doesn't apply VPSlashPrep / ComplSlash, etc.
2013-05-01 03:33:58 +00:00
normundsg
d00b425206 Latvian RG: approaching RGL API 2011-12-19 06:03:21 +00:00
normundsg
3148e305d5 More or less complete Latvian RG (by Peteris Paikens and Normunds Gruzitis) 2011-11-07 14:21:04 +00:00
aarne
86ab6c4c6e Latvian resource started by Normunds Gruzitis 2011-08-14 16:52:15 +00:00