Sentence


Parse

What
(S[wq]/(S[q]/NP))/N
 
souvenirs
N
 
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.