summaryrefslogtreecommitdiff
path: root/info/translations/pst-jtree/de/CS03.tex
blob: 429e80a7202f54d8aa05a4b72475932580a12e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
\example
\ftagEx[Andrews]

\hfil
\jtree[xunit=2.2em,yunit=.7em]
\def\\{[labelgapb=-.5ex]}%
\! = {S}
   :({NP}\\{that book}@A1 ) \jtwide{S/NP}
   :({NP}\\{I}) {VP/NP}
   :({V}\\{want}) {VP/NP}
   :{\it to} {VP/NP}
   <left>({V}\\{ask}) ^<vert>({NP}\\{Mary}) ^<wideright>{VP/NP}
   :{\it to} {VP/NP}
   <left>({V}\\{tell}) ^<vert>({NP}\\{Tom}) ^<wideright>{VP/NP}
   :{\it to} {VP/NP}
   :({V}\\{read}) {NP/NP}\\{e}@A2 .
\nccurve[angleA=210,angleB=-90]{->}{A2}{A1}
\endjtree

\vskip3em
(Dies ist eine Adaption eines Beispiels aus der Dokumentation zu "Avery Andrew's tree formating preproceor.)
\medskip
\CL
\jtree[xunit=2.2em,yunit=.7em]
\def\\{[labelgapb=-.5ex]}%
\! = {S}
   :({NP}\\{that book}@A1 ) \jtwide{S/NP}
   :({NP}\\{I}) {VP/NP}
   :({V}\\{want}) {VP/NP}
   :{\it to} {VP/NP}
   <left>({V}\\{ask}) ^<vert>({NP}\\{Mary}) ^<wideright>{VP/NP}
   :{\it to} {VP/NP}
   <left>({V}\\{tell}) ^<vert>({NP}\\{Tom}) ^<wideright>{VP/NP}
   :{\it to} {VP/NP}
   :({V}\\{read}) {NP/NP}\\{e}@A2 .
\nccurve[angleA=210,angleB=-90]{->}{A2}{A1}
\endjtree
|endCL

\vfil\break
Einige k\"onnten den folgenden Formatierungsstiel bevorzugen. Der Code ist fast identisch mit dem von oben. |\\| hat eine andere Definition und |<vartri>| wird  anstelle von |\\| benutzt.\bigskip

\hfil
\jtree[xunit=2.2em,yunit=.7em]
\def\\{<shortvert>}%
\! = {S}
   :({NP}<vartri>{that book}@A1 ) \jtwide{S/NP}
   :({NP}\\{I}) {VP/NP}
   :({V}\\{want}) {VP/NP}
   :{\it to} {VP/NP}
   <left>({V}\\{ask}) ^<vert>({NP}\\{Mary}) ^<wideright>{VP/NP}
   :{\it to} {VP/NP}
   <left>({V}\\{tell}) ^<vert>({NP}\\{Tom}) ^<wideright>{VP/NP}
   :{\it to} {VP/NP}
   :({V}\\{read}) {NP/NP}\\{e}@A2 .
\nccurve[angleA=210,angleB=-90]{->}{A2}{A1}
\endjtree
\vskip3em
\CL
\jtree[xunit=2.2em,yunit=.7em]
\def\\{<shortvert>}%
\! = {S}
   :({NP}<vartri>{that book}@A1 ) \jtwide{S/NP}
   :({NP}\\{I}) {VP/NP}
   :({V}\\{want}) {VP/NP}
   :{\it to} {VP/NP}
   <left>({V}\\{ask}) ^<vert>({NP}\\{Mary}) ^<wideright>{VP/NP}
   :{\it to} {VP/NP}
   <left>({V}\\{tell}) ^<vert>({NP}\\{Tom}) ^<wideright>{VP/NP}
   :{\it to} {VP/NP}
   :({V}\\{read}) {NP/NP}\\{e}@A2 .
\nccurve[angleA=210,angleB=-90]{->}{A2}{A1}
\endjtree
|endCL