Sentence


Parse

What
(S[wq]/(S[q]/NP))/N
 
kind
N/PP
 
of
PP/NP
 
souvenirs
N
 
NP
*
PP
> 0
N
> 0
S[wq]/(S[q]/NP)
> 0
did
(S[q]/(S[b]\NP))/NP
 
you
NP
 
S[q]/(S[b]\NP)
> 0
buy
(S[b]\NP)/NP
 
?
.
 
(S[b]\NP)/NP
.
S[q]/NP
> 1
S[wq]
> 0

Use with der.css.

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