mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
updated tests/german/object-order.README
This commit is contained in:
@@ -87,7 +87,7 @@ contained in examples.txt. (Definiteness seems to be relevant to order, too.)
|
|||||||
ich trinke warmes Bier nicht [ ich trinke nicht Bier: via no_Predet ]
|
ich trinke warmes Bier nicht [ ich trinke nicht Bier: via no_Predet ]
|
||||||
|
|
||||||
The order accPron < refl < (gen|dat)Pron < neg < nonpronNP sometimes sounds
|
The order accPron < refl < (gen|dat)Pron < neg < nonpronNP sometimes sounds
|
||||||
better, but expresses a different meaning (often available via no_Preded):
|
better, but expresses a different meaning (often available via no_Predet):
|
||||||
|
|
||||||
sie hat sich nicht alle|viele|?mehrere Namen gemerkt
|
sie hat sich nicht alle|viele|?mehrere Namen gemerkt
|
||||||
sie hat sich alle?|viele|mehrere Namen nicht gemerkt
|
sie hat sich alle?|viele|mehrere Namen nicht gemerkt
|
||||||
@@ -98,7 +98,10 @@ contained in examples.txt. (Definiteness seems to be relevant to order, too.)
|
|||||||
einige Lehrer haben jedem Studenten viele Bücher nicht geschickt|empfohlen
|
einige Lehrer haben jedem Studenten viele Bücher nicht geschickt|empfohlen
|
||||||
=?= some teachers haven't sent|recommended many books to every student
|
=?= some teachers haven't sent|recommended many books to every student
|
||||||
|
|
||||||
For tests, see examples.txt and TestLangGer.
|
For tests, see examples.txt and how to do regression tests (see below).
|
||||||
|
|
||||||
|
Rem.: Having more nn-fields may be useful to put adverbs in between (with
|
||||||
|
additional scope problems).
|
||||||
|
|
||||||
4. For reflexive V2's (ich bediene mich einer Sache, ich merke mir eine Sache) or
|
4. For reflexive V2's (ich bediene mich einer Sache, ich merke mir eine Sache) or
|
||||||
reflexive V3's (ich entschuldige mich bei dat für acc, ich leihe mir acc bei dat),
|
reflexive V3's (ich entschuldige mich bei dat für acc, ich leihe mir acc bei dat),
|
||||||
@@ -236,16 +239,14 @@ Also, singular mass-NPs behave different:
|
|||||||
ich trinke nicht *((kaltes) Bier)
|
ich trinke nicht *((kaltes) Bier)
|
||||||
ich trinke (kaltes) Bier nicht | ich trinke kein (kaltes) Bier
|
ich trinke (kaltes) Bier nicht | ich trinke kein (kaltes) Bier
|
||||||
|
|
||||||
PROBLEMS: do V2 + neg behave the same as V3 + neg? Can the scope of negation
|
PROBLEM: do V2 + neg behave the same as V3 + neg? Aren't the relative
|
||||||
and quantifiers be fixed (or at least restricted) by intonation?
|
scopes of negation and quantifiers fixed (or restricted) by intonation?
|
||||||
|
|
||||||
------------- Generating some example trees and linearize them (LangGer|Eng) -----------
|
------------- Generating some example trees and linearize them (LangGer|Eng) -----------
|
||||||
|
|
||||||
gr -tr -number=4 UseCl (TTAnt ? ?) ? (PredVP (UsePron i_Pron) (ComplSlash (SlashVV want_VV (SlashV2a see_V2)) (DetCN (DetQuant ? ?) (UseN man_N)))) | l
|
gr -tr -number=4 UseCl (TTAnt ? ?) ? (PredVP (UsePron i_Pron) (ComplSlash (SlashVV want_VV (SlashV2a see_V2)) (DetCN (DetQuant ? ?) (UseN man_N)))) | l
|
||||||
|
|
||||||
gr -number=4 -tr UseCl (TTAnt ? ?) ? (PredVP (UsePron i_Pron) (ComplSlash (SlashVV want_VV (SlashV2a see_V2)) (DetCN (DetQuantOrd ? ? ?) (UseN man_N)))) | l
|
Pronoun switch with V3 and Slash?V2 works:
|
||||||
|
|
||||||
Pronoun switch with V3 and Slash3V2 works:
|
|
||||||
|
|
||||||
l UseCl (TTAnt TPast AAnter) PPos (PredVP (UsePron i_Pron) (ComplSlash (Slash3V3 sell_V3 (DetCN (DetQuant IndefArt NumSg) (UseN woman_N))) (DetCN (DetQuant DefArt NumSg) (UseN book_N))))
|
l UseCl (TTAnt TPast AAnter) PPos (PredVP (UsePron i_Pron) (ComplSlash (Slash3V3 sell_V3 (DetCN (DetQuant IndefArt NumSg) (UseN woman_N))) (DetCN (DetQuant DefArt NumSg) (UseN book_N))))
|
||||||
I had sold the book to a woman
|
I had sold the book to a woman
|
||||||
@@ -255,14 +256,26 @@ l UseCl (TTAnt TCond ASimul) PNeg (PredVP (UsePron i_Pron) (ComplSlash (Slash3V3
|
|||||||
I wouldn't sell it to her
|
I wouldn't sell it to her
|
||||||
ich würde es ihr nicht verkaufen
|
ich würde es ihr nicht verkaufen
|
||||||
|
|
||||||
--------------------- Regression tests -----------------------------------
|
------ Regression tests: use gf --run < object-order.gfs or gf> eh object-order.gfs
|
||||||
|
|
||||||
|
Form Ger to Eng:
|
||||||
|
|
||||||
|
example.txt contains german example sentences marked "positive", "negative", "dubious",
|
||||||
|
some with two marks. The marks may not always be convincing, as some orderings of negation
|
||||||
|
and quantified nps afford particular intonation and meaning. (Also, there are incorrect
|
||||||
|
parse trees due to misuse of MassNP etc., so it needs some inspection to see if the content
|
||||||
|
of examples.*.out is as it ought to be.)
|
||||||
|
|
||||||
|
Part of examples.txt needs TestLangGer|Eng for parsing and translation, in particular
|
||||||
|
those with reflexive ternary verbs or quaternary verbs (which are not in the RGL).
|
||||||
|
|
||||||
From Eng to Ger:
|
From Eng to Ger:
|
||||||
Lang> rf -file=examples.eng.txt -lines | p -lang=LangEng | l -lang="LangEng,LangGer" -treebank | wf -file=examples.eng.new
|
|
||||||
Lang> rf -file=examples.eng.txt -lines | p -lang=LangEng | l | wf -file=examples.eng2ger.new
|
|
||||||
|
|
||||||
From Ger to Eng: see examples.txt and object-order.gfs
|
examples.eng.txt could also be parsed using LangEng instead of TestLangEng|Ger.
|
||||||
|
|
||||||
(Some of these examples need german/TestLangGer|Eng)
|
Lang> rf -file=examples.eng.txt -lines | p -lang=LangEng | l -lang="Eng,Ger" -treebank | wf -file=examples.eng.new
|
||||||
|
Lang> rf -file=examples.eng.txt -lines | p -lang=LangEng | l -lang="Eng,Ger" | wf -file=examples.eng2ger.new
|
||||||
|
|
||||||
|
Using give_V3 is confusing, as both objects are connected with noPrep. The examples are
|
||||||
|
repeated using send_V3, which attaches its indirect object with toPrep.
|
||||||
-------------------------------------------------------------------------------------End
|
-------------------------------------------------------------------------------------End
|
||||||
|
|||||||
Reference in New Issue
Block a user