Sentence


Parse

We
NP
 
were
(S[dcl]\NP)/(S[pss]\NP)
 
surprised
S[pss]\NP
 
S[dcl]\NP
> 0
by
((S\NP)\(S\NP))/NP
 
his
NP/(N/PP)
 
behaviour
N/PP
 
NP
> 0
.
.
 
NP
.
(S\NP)\(S\NP)
> 0
S[dcl]\NP
< 0
S[dcl]
< 0

Use with der.css.

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