Sentence


Parse

Tom
N
 
NP
*
regrets
(S[dcl]\NP)/(S[ng]\NP)
 
having
(S[ng]\NP)/(S[pt]\NP)
 
introduced
((S[pt]\NP)/PP)/NP
 
Mary
N
 
NP
*
(S[pt]\NP)/PP
> 0
to
PP/NP
 
John
N
 
NP
*
.
.
 
NP
.
PP
> 0
S[pt]\NP
> 0
S[ng]\NP
> 0
S[dcl]\NP
> 0
S[dcl]
< 0

Use with der.css.

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