1
0
forked from GitHub/gf-rgl
Commit Graph

6190 Commits

Author SHA1 Message Date
Inari Listenmaa
0b6fc7732b Merge pull request #266 from inariksit/somali
(Som) Take passive out of Prep + add reflexive as PrepAgr + update tests
2019-07-25 18:56:47 +03:00
Inari Listenmaa
e4bc20e482 (Som) WIP: subordinate clauses 2019-07-25 18:42:16 +03:00
Inari Listenmaa
e5aa8a6499 (Som) Remove Impers_Prep and put it in PrepCombination 2019-07-25 18:41:16 +03:00
Inari Listenmaa
8c8612b7d7 (Som) Take passive out of Prep + add reflexive as PrepAgr + update tests 2019-07-24 19:24:19 +03:00
Inari Listenmaa
fbb431f2d2 Merge pull request #264 from bamutra/master
Rukiga gf-rgl
2019-07-24 05:55:52 +03:00
Inari Listenmaa
778fccf907 Merge pull request #265 from inariksit/somali
Somali
2019-07-23 23:33:44 +03:00
Inari Listenmaa
c4d7eabc83 (Som) Add more preposition combinations with passive 2019-07-23 21:40:14 +03:00
krangelov
5cd076d450 linrefs for all verb categories 2019-07-22 22:07:21 +02:00
Inari Listenmaa
a6530e4f1d (Som) Create PrepAgr param for prepositions combining with pronouns 2019-07-22 21:51:44 +03:00
Inari Listenmaa
eabf415b0b Merge pull request #263 from inariksit/somali
Somali
2019-07-22 21:49:50 +03:00
Inari Listenmaa
2717955d3c (Som) New unit test 2019-07-22 21:49:30 +03:00
Inari Listenmaa
6817734f8d (Som) Remove already implemented functions from MissingSom 2019-07-22 21:42:40 +03:00
Inari Listenmaa
89b52b89f9 (Som) Shaving off parameters here and there 2019-07-20 18:35:19 +03:00
Inari Listenmaa
2efd8435ae (Som) More unit tests 2019-07-20 18:33:14 +03:00
Inari Listenmaa
6f2896acc9 Merge pull request #262 from inariksit/somali
Somali
2019-07-19 14:14:39 +03:00
Inari Listenmaa
404873802e (Som) Add unit tests about VPs 2019-07-19 13:58:43 +03:00
Inari Listenmaa
c96ba57991 (Som) New lexical items 2019-07-19 13:58:22 +03:00
Inari Listenmaa
56be17ccf9 (Som) Add GenericCl 2019-07-19 13:58:02 +03:00
Inari Listenmaa
8c11c9e372 (Som) Add empty Str field to NP so every NP contributes with some string
Otherwise parsing sentences with pronoun  objects gives metavariables.
2019-07-19 13:57:37 +03:00
Inari Listenmaa
9c1c488703 Merge pull request #261 from inariksit/estonian
Estonian + Somali
2019-07-19 09:41:05 +02:00
Inari Listenmaa
54870ec678 (Est) Minor cleanup+formatting 2019-07-19 10:22:07 +03:00
Inari Listenmaa
89217ee9cc (Est) Add [CN] and {Base,Cons,Conj}CN 2019-07-19 10:21:29 +03:00
Inari Listenmaa
08cec84079 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into somali 2019-07-19 10:06:14 +03:00
Inari Listenmaa
844755b666 Merge pull request #258 from hleiss/accdatV3
(Ger) Readjusting accdatV3 in ParadigmsGer and modifying V3-examples …
2019-07-18 19:55:25 +02:00
Inari Listenmaa
87b21c6435 Merge pull request #257 from hleiss/vp-paradigm
(Ger) Correction of VP paradigm with modal verbs
2019-07-18 19:55:11 +02:00
Inari Listenmaa
db4f31047e (Som) Add reflexives 2019-07-18 20:49:59 +03:00
Peter Ljunglöf
26442cdbd0 unittest: example test file 2019-07-12 11:05:40 +02:00
Peter Ljunglöf
7cbe4e7810 unittest: adding support for Python- or GF-style comments 2019-07-12 10:39:16 +02:00
Peter Ljunglöf
29ee6d0d70 unittest: updated the script to be able to work from the unittest directory 2019-07-12 10:39:16 +02:00
Peter Ljunglöf
9646629fb3 unittest: Move script to new directory 2019-07-12 10:39:16 +02:00
Peter Ljunglöf
35b6d8be55 Unit testing for RGL languages, written in Python 2+3 2019-07-08 23:02:53 +02:00
Hans Leiss
d9928919e3 (Ger) Readjusting accdatV3 in ParadigmsGer and modifying V3-examples in LexiconGer instead
ParadigmsGer had two constructions of verbs v:V3 with dat- and acc-object nps,

(1)      mkV3 : V -> V3 = \v -> mkV3 v accPrep datPrep ;
(2)  accdatV3 : V -> V3 = \v -> mkV3 v datPrep accPrep ;  -- (no prepositions)

In a previous patch, I had replaced (accdatV3 v) to (mkV3 v accPrep datPrep), as the
name suggested. (This actually was the meaning of accdatV3 in gf-3.2, which had only
a non-overloaded mkV3 : V -> Prep -> Prep -> V3.)

The reason for having two constructions for dat+acc-verbs in Ger seems to be *Eng*:
for English, ditransitive V3-verbs are defined by

(2')     mkV3 : V -> V3 = \v -> mkV3 v noPrep noPrep ;

like "to give sb sth", where the indirect argument comes first (c2=indir), the direct
second (c3=dir), corresponding to c2=datPrep, c3=accPrep in Ger; apparently, this was
meant by the comment (no prepositions) in (2). Other V3-verbs in Eng are defined by

(1')    mkV3 : V -> Prep -> V3 = \v,p -> mkV3 v noPrep p ;

like "to give sth to sb", so that (c2=dir), (c3=indir-with preposition),
corresponding to c2=acc,c3=dat in Ger, i.e. (1).

In order to get trees with equal meaning in Ger and Eng, the direct and indirect
arguments of corresponding verbs must match. Therefore, some V3-verbs in Ger have to
be defined using (1), others using (2), although they syntactically behave similar.

This patch therefore reinstalls (1) and (2), and changes the V3 in LexiconGer to:

  give_V3 = accdatV3 Irreg.geben_V ; -- c2=datPrep, c3=accPrep, to fit
             -- to Eng ditransitive: give sb(indir) sth(dir) (no preposition)

  sell_V3 = mkV3 (no_geV (regV "verkaufen")) ;    -- Eng: mkV3 v noPrep toPrep
  send_V3 = mkV3 (regV "schicken") ; -- Ger mkV3 v = Ger: mkV3 v accPrep datPrep
2019-07-08 16:09:17 +02:00
Hans Leiss
45e6bfdec5 (Ger) Correction of VP paradigm with modal verbs
The inf part of VPC is split into inf,inf2:Str to correct

    hat ... wollen lesen         => hat ... lesen wollen
    wird ... wollen haben lesen  => wird ... haben lesen wollen
                                    (for: lesen wollen|gewollt haben)

Changed useVP and mkClause of ResGer and MkVPS of ExtraGer.
(ExtraGer.DisToCl needs to be adapted, but best by unification with mkClause.)
See also tests/german/vp-paradigm.*
2019-07-06 15:29:23 +02:00
Inari Listenmaa
bc78d8466e Merge pull request #256 from inariksit/arabic-mkN
Bugfix in Arabic mkN
2019-07-05 11:06:06 +02:00
Inari Listenmaa
64e9947a61 (Ara) Fix bug in mkN instance for sg,pl,gender,species. 2019-07-05 10:44:56 +02:00
Inari Listenmaa
d426b0f9d1 Merge branch 'master' of https://github.com/GrammaticalFramework/gf-rgl into arabic-mkN 2019-07-05 10:18:42 +02:00
Inari Listenmaa
932c72c36b Merge pull request #255 from hleiss/pron-ordering
Pron ordering
2019-07-04 17:06:50 +02:00
Hans Leiss
2a1c22c5ca fixed the syntax error with --# notpresent in ResGer 2019-07-04 14:15:50 +02:00
Inari Listenmaa
37dbd8e486 Merge branch 'pron-ordering' of https://github.com/hleiss/gf-rgl into hleiss-pron 2019-07-04 10:55:41 +02:00
Hans Leiss
07aa656687 updated tests/german/object-order.README 2019-07-04 10:19:24 +02:00
Hans Leiss
b521089274 Added tests for pronoun-switch and object ordering in Ger (see tests/object-order.*) 2019-07-03 19:16:35 +02:00
Inari Listenmaa
2500c02b5f Merge pull request #254 from inariksit/somali
Somali
2019-07-02 09:55:59 +02:00
Inari Listenmaa
e4394b633c (Som) VV complements + some restructuring. 2019-07-01 20:30:06 +02:00
Hans Leiss
d3c6dddf2c removed comment from ResGer 2019-07-01 17:39:42 +02:00
Inari Listenmaa
ca06dc4e1d (Som) More fine-grained adverbials 2019-07-01 14:13:45 +02:00
Inari Listenmaa
e42cc6db61 Merge pull request #253 from inariksit/somali
Somali
2019-07-01 12:09:35 +02:00
Inari Listenmaa
8115b26947 (Som) Rename some parameters to begin with capital letter 2019-07-01 10:44:37 +02:00
Inari Listenmaa
0e52ffbb6a (Som) Make object pronoun and preposition(s) contract with negation. 2019-07-01 10:28:03 +02:00
Hans Leiss
03e404e518 Improving pronoun-switch and partial ordering of objects in Ger 2019-06-29 20:40:46 +02:00
Inari Listenmaa
916a3f0a30 Merge pull request #251 from daherb/master
(Lat) Update of the RGL and dictionary
2019-06-28 17:59:04 +02:00