Sentence


Parse

Tom
N
 
spent
(S[adj]\NP)/NP
 
all
NP/N
 
day
N
 
NP
> 0
S[adj]\NP
> 0
alone
(S\NP)\(S\NP)
 
S[adj]\NP
< 0
in
((S\NP)\(S\NP))/NP
 
his
NP/(N/PP)
 
room
N/PP
 
NP
> 0
.
.
 
NP
.
(S\NP)\(S\NP)
> 0
S[adj]\NP
< 0
N\N
*
N
< 0
NP
*

Use with der.css.

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