Commit Graph

12 Commits

Author SHA1 Message Date
normundsg
e1126f74d5 Latvian: code refactoring (an intermediate step) and few bugfixes 2013-05-10 12:03:42 +00:00
normundsg
7b355c6175 Latvian: parameter optimisation, code clean-up and formatting, renaming 2013-05-04 04:56:46 +00:00
normundsg
4994be6e89 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
745be9f505 Latvian: miscellaneous 2013-04-22 13:51:48 +00:00
Normunds Gruzitis
fa225d26ef Latvian: extensions to the verb paradigms
Added support for -ts/-ta participles (in addition to -is/-usi; other participles - on demand) and fixed some palatalization exceptions.
2012-10-30 22:37:11 +00:00
Normunds Gruzitis
1c69a5ee3d Latvian: two important fixes regarding V2 clauses
Agreement with the focus part (the object) works not only for Pers3, but also for Pers1 and Pers2 NPs (if the verb requires non-typical subject/object valences).
Object-dependent double negation works (in addition to the subject-dependent double negation).
The first one is motivated by PhrasebookLav, the second one - by AttemptoLav.
Also a couple of minor fixes.
2012-10-21 21:23:56 +00:00
Normunds Gruzitis
a5aa72b420 Latvian: some fixes / additions to the structural words, lexicon, and passive voice 2012-10-14 14:09:15 +00:00
Normunds Gruzitis
2148d12164 A major update to the Latvian resource grammar
The case of the topic part of a clause (~subject) can now depend on the verb, allowing for less frequent agreement.
E.g. "man[Dat] garšo pica[Nom]" ("I like pizza").
The default case for the topic/subject remains the nominative case.
2012-08-23 23:05:16 +00:00
Normunds Gruzitis
7fea17d15e Some improvements to the Latvian resource grammar
- some missing functions (needed for Phrasebook)
- few bug-fixes (verb paradigms)
- naming, formatting, clean-up
2012-08-08 09:45:15 +00:00
normundsg
e76587d06e Latvian RG: approaching RGL API 2011-12-19 06:03:21 +00:00
normundsg
c3b052db58 More or less complete Latvian RG (by Peteris Paikens and Normunds Gruzitis) 2011-11-07 14:21:04 +00:00
aarne
5f1d8dec6c Latvian resource started by Normunds Gruzitis 2011-08-14 16:52:15 +00:00