forked from GitHub/gf-rgl
- 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.
36 lines
1016 B
Plaintext
36 lines
1016 B
Plaintext
abstract TestLang =
|
|
Grammar,
|
|
TestLexiconGerAbs
|
|
-- , Construction
|
|
** {
|
|
flags startcat=Phr ;
|
|
|
|
fun
|
|
SlashV2Vneg : V2V -> VP -> VPSlash ; -- negative use of VP: promise, not to vp
|
|
cat
|
|
VPSlashSlash ;
|
|
fun
|
|
ReflVPSlash : V3 -> VPSlash ;
|
|
|
|
-- SlashV3a : V3 -> VPSlashSlash ; -- unneccessary
|
|
|
|
Slash2V4 : V4 -> NP -> VPSlashSlash ;
|
|
Slash3V4 : V4 -> NP -> VPSlashSlash ;
|
|
Slash4V4 : V4 -> NP -> VPSlashSlash ;
|
|
|
|
ComplSlashSlash: VPSlashSlash -> NP -> VPSlash ;
|
|
|
|
-- Passive
|
|
PastPartAP : VPSlash -> AP ; -- lost (opportunity) ; (opportunity) lost in space
|
|
PassVPSlash : VPSlash -> VP ; -- from ExtraGer, to be corrected
|
|
|
|
PassV2S : V2S -> S -> VP ;
|
|
PassV2Q : V2Q -> QS -> VP ;
|
|
PassV2V : V2V -> VP -> VP ;
|
|
|
|
Pass3V3 : V3 -> NP -> VP ; -- den Beweis erklärt bekommen
|
|
Pass2V3 : V3 -> NP -> VP ; -- uns erklärt werden ; Eng give_V3[indir,dir]: we are given the book
|
|
|
|
Pass2V4 : V4 -> NP -> VPSlash ; -- bei dir (für Gold) gekauft werden
|
|
} ;
|