Commit Graph

12 Commits

Author SHA1 Message Date
normundsg
9f5c805ab5 Latvian: an optimized NP linearization type => fixed the double negation support in VPS
The flag indicating whether a NP has a negated determiner is now encapsulated in the algebraic parameter Agr, removing the extra field in the NP linearization type.
2013-05-02 13:17:53 +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
Normunds Gruzitis
5a71256fda 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
21e61f4516 Latvian: added support for double negation, fixed some structural words
Double negation: sebject-dependent - works, object-dependent - still has to be fixed (in VerbsLav).
Structural words: everybody, somebody, nobody.
Both motivated by AttemptoLav.
2012-10-16 13:54:52 +00:00
Normunds Gruzitis
a93a6f4fc6 Latvian RG: improved support for verb-dependent clauses (word order & agreement) 2012-09-17 13:41:31 +00:00
Normunds Gruzitis
d217f20c60 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
3aa95e3fe9 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.
2012-08-18 04:56:33 +00:00
Normunds Gruzitis
8b1ea40b45 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
1966ce5eb6 Latvian: 1) added some extra things that are used by the Attempto grammar; 2) added notpresent tags; 3) compiles with Setup.hs and lib/src/Make.hs 2012-02-20 02:42:07 +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