Sentence


Parse

I
NP
 
was
(S[dcl]\NP)/(S[adj]\NP)
 
surprised
(S[adj]\NP)/(S[to]\NP)
 
to
(S[to]\NP)/(S[b]\NP)
 
hear
(S[b]\NP)/PP
 
of
PP/NP
 
his
NP/(N/PP)
 
failure
N/PP
 
NP
> 0
PP
> 0
S[b]\NP
> 0
S[to]\NP
> 0
S[adj]\NP
> 0
S[dcl]\NP
> 0
.
.
 
S[dcl]\NP
.
S[dcl]
< 0

Use with der.css.

Use with ccgsym.sty and tikzlibraryccgder.code.tex.