Commit Graph

30 Commits

Author SHA1 Message Date
Inari Listenmaa
a742d54515 Fix punctuation to use SOFT_BIND and BIND in the whole RGL 2017-06-30 15:28:27 +02:00
krasimir
a47aac0ad8 use BIND in IIDig for all languages in the library 2015-06-11 12:00:57 +00:00
normundsg
acba4fa5b3 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
80383159da Latvian: a minor fix in the comma usage 2013-12-13 10:37:48 +00:00
normundsg
b9255bbfe9 Latvian: CN and NP types are extended with a Bool field for tracking whether a relative clause has been used
This is used for inserting the closing comma if necessary, and later will be used also for adjusting the word order.
2013-12-12 20:42:55 +00:00
kr.angelov
f8e4ede4e6 NumeralLav should use restricted inheritance from CatLav 2013-11-15 08:04:51 +00:00
normundsg
10888e957b Latvian: a lot of code refactoring 2013-06-21 12:04:26 +00:00
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
70a7bdbdeb 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
e7247dbf26 Latvian extra: initial support for VP conjunction (VPS)
TODO: subject-dependent double negation, other verb moods (currently only the indicative mood).
2013-05-02 07:41:44 +00:00
normundsg
95c3054e89 Latvian extra: added GenCN - similarly as in ExtraFin 2013-05-01 11:08:32 +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
aarne
a17adab71a changed have_V3 to Extra in Latvian, as in the recent Russian patch 2012-12-28 13:02:46 +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
e2ddf8a272 Latvian: fixed some adjective paradigms, changed the default word order in ComplN2
The issues were unveiled while testing AttemptoLav in a more realistic domain
2012-10-23 00:12:36 +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
eb60a31923 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
a5aa72b420 Latvian: some fixes / additions to the structural words, lexicon, and passive voice 2012-10-14 14:09:15 +00:00
Normunds Gruzitis
a6631854bf Latvian: added no_Quant, changed otherwise_PConj and therefore_PConj
Other changes are due to formatting.
2012-10-09 18:46:46 +00:00
Normunds Gruzitis
8648c9899d Latvian RG: improved support for verb-dependent clauses (word order & agreement) 2012-09-17 13:41:31 +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
8277fe4606 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
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
3a06651193 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
81058c2009 Latvian API compiles! Does it? :) 2011-12-19 14:11:46 +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