Commit Graph

196 Commits

Author SHA1 Message Date
krangelov
9d657a6f24 move UseDAP, UseDAPMasc, UseDAPFem to the RGL and implement it for several new languages 2021-04-27 18:00:54 +02:00
aarneranta
ce08eaf14b VPS,VPI in ExtendGer 2021-04-26 08:20:03 +02:00
krangelov
88b3974bee extend the documentation API 2021-03-12 22:24:40 +01:00
aarneranta
da1767b18a including Markup in LangGer,Ita which was missing 2021-01-20 08:32:59 +01:00
aarneranta
94341f57f9 removed the rest of variants from german/ except from LexiconGer 2021-01-19 17:48:14 +01:00
aarneranta
f59a706d45 commented out variants in StructuralGer: they do not belong to the RGL but to extensions 2021-01-18 14:16:38 +01:00
Aarne Ranta
c55592cea6 Added ExtendGer as almost dummy to start with 2021-01-13 16:01:50 +01:00
aarneranta
1f030252a1 fixed genitive es/en in German adjectives and determiners 2020-04-14 16:32:17 +02:00
Hans Leiss
8fb8ddd808 Ger: improved infinitives (and passives); tests with more verbs in testing/german
- NP: added field isLight in order to push negation behind light nps;
  this had been done in gf-3.9 using field isPron, but isPron is now
  used to put accusative pronoun before dative pronoun. Removed field
  adv: adverbial extensions cannot be extracted (todo: also for CN).
  Reduced isLight*isPron to w:Weight with 3 values: WPron, WLight, WHeavy.

- added param Control and field ctrl:Control to classify V2V-verbs into
  subject- and object-contol verbs, use ctrl to make reflexives agree
  with subject resp. object in VPSlash, and refine ComplSlash.

- Verb: new versions of ComplVV, SlashV2V and SlashVV to give better
  (nested) infinitives (extracting infzu and correcting object order).
  a) nested SlashVV doesn't work properly;
  b) SlashV2VNP may have to be commented out to prevent a stack overflow
     when compiling.
  Intended change of SlashV2VNP in tests/german/TestLangGer could not
  be tested due to size problems with the compiler.

- VP: changed field a1 : Polarity => Str to a1:Str to collect the adverbs
  coming before negation, using (negation : Polarity => Str) in mkClause.
  Use objCtrl:Bool instead of missingAdv to let reflexives agree with object.

- ResGer: insertObjNP reorganized, infzuVP added

- DictVerbsGer: some corrections (helft -> hilft, *sprecht -> *spricht)

- Some potential passive rules in tests/german/TestLangGer|Eng

- ExtraGer needs to be cleaned up with repect to the modified mkClause.
2019-09-18 15:16:42 +02: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
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
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
Hans Leiss
d3c6dddf2c removed comment from ResGer 2019-07-01 17:39:42 +02:00
Hans Leiss
03e404e518 Improving pronoun-switch and partial ordering of objects in Ger 2019-06-29 20:40:46 +02:00
jfschaefer
5ef182f4be (Ger) fix old spellings of irregular verbs 2018-12-07 17:46:27 +01:00
Aarne Ranta
994e0482bc added Construction for 'five inch nail' in Eng,Ger,Fin from the Dresden team at the summer school 2018-12-03 17:27:59 +02:00
Aarne Ranta
3949424a78 fixed Ger SentCN and AdvCN, which erased their earlier modifiers 2018-06-05 18:19:09 +02:00
Inari Listenmaa
3089155590 (Ger) Agreement with ReflVP + ComplSlash
ComplSlash ( … ReflVP … ) X:    reflexive should agree with X
ReflVP ... ( … ComplSlash … X): reflexive should agree with subject
2018-05-01 16:38:17 +02:00
Aarne Ranta
38dac3de60 restored c field in Ger.UttAP - yet another suppression previously undetected 2018-02-08 21:16:43 +01:00
Aarne Ranta
95ca88bf02 some paradigm extensions 2018-01-21 12:18:15 +01:00
Aarne Ranta
3703b76856 new cases to Ger.mkN 2018-01-14 22:19:19 +01:00
Aarne Ranta
485b095462 fixed a bug in German infinitives where some fields were left out 2017-12-19 14:16:14 +01:00
Aarne Ranta
4da5677697 some fixes in German 2017-10-25 11:09:13 +02:00
Aarne Ranta
9ec92096c6 added MarkupGer 2017-10-25 11:08:49 +02:00
Aarne Ranta
e913404f3a Ger.ConjCN 2017-10-24 19:38:22 +02:00
Krasimir Angelov
7a3ebdc5ea added linref AP in German 2017-08-21 20:42:18 +02:00
Inari Listenmaa
a742d54515 Fix punctuation to use SOFT_BIND and BIND in the whole RGL 2017-06-30 15:28:27 +02:00
aarne
df39e466bb some new functionalities in Ger 2017-06-05 12:46:53 +00:00
aarne
e9bf0d0966 qualified ambiguous NP in ExtraGer 2017-01-30 13:48:46 +00:00
aarne
d37d00b6db extrapos field added in German UseComp 2016-11-06 18:11:31 +00:00
krasimir
52e9076641 add ready_VP in Constructions 2016-07-05 09:49:30 +00:00
krasimir
c0ed747ba6 added scared_VP & ill_VP. fixed scared_A and ill_A in the general dictionaries of some languages 2016-07-05 06:22:06 +00:00
krasimir
54cf5ce0c8 added tired_VP in Constructions 2016-07-04 21:15:00 +00:00
aarne
b761120645 fixed some functions in IdiomGer where the discontinuous parts had been omitted 2016-06-14 06:53:58 +00:00
aarne
2d6a343937 reflexive possessives in Fin and Ger ; in Fin, it also makes a difference in the recognized strings, because it always involves pro-drop unlike ordinary possessives 2016-06-07 13:59:09 +00:00
aarne
f216cfe923 missing parts in PhraseGer.UttCN added 2016-06-05 10:59:01 +00:00
aarne
06f5f906d6 much_Det = viel without inflection in StructuralGer 2016-05-02 17:47:52 +00:00
krasimir
d50eda20ca change in the Documentation module to accomodate topics visualization 2015-11-29 08:01:07 +00:00
krasimir
d97fd81a8c bugfix in the Documentation module for German. Before Adverbs were documented as Prepositions. 2015-11-16 14:59:56 +00:00
krasimir
1b8129145a now the Documentation module contains a category Definition which is used to generate definitions and examples for words in the App. 2015-11-16 14:57:32 +00:00
aarne
4fa9ca5d22 German V3 default without preposition is now Dat+Acc, not Acc+Dat - in conformance with ditransitives in other languages 2015-10-15 15:08:25 +00:00
aarne
44986e0dc3 revised comments in Construction so that some functions can be shown in absfun doc 2015-10-15 15:01:38 +00:00
aarne
293464c3e8 corrected IrregGer.sein_V to match with ResGer.sein_V 2015-09-15 18:03:47 +00:00
aarne
7e1102c3a1 discontinuous Ger AP part in UttAP 2015-07-27 09:18:14 +00:00
aarne
8bbb2a1277 restoring the discontinuous Ger NP parts in some linearizations 2015-07-27 09:14:10 +00:00
aarne
e36239cf67 restored one-arg mkPN 2015-07-23 16:03:18 +00:00
scharolta_siencnik
dc143dcb02 German resource grammar: major changes. 2015-07-23 15:50:05 +00:00
scharolta_siencnik
d0e379b825 gender of Language in ConstructionGer 2015-07-23 15:21:37 +00:00