CCGweb
About
Manual
Download
Privacy Policy
Sign in
Sentence
ara
bul
dan
eng
est
deu
fra
hin
ind
ita
kan
ltz
mar
nld
pol
por
ron
rus
spa
srp
tur
urd
vie
Go
Parse
auto
visual
HTML
LaTeX
Tom
N
put
(S[pss]\NP)/PP
on
PP/NP
his
NP/N
socks
N
NP
>
0
.
.
NP
.
PP
>
0
S[pss]\NP
>
0
N\N
*
N
<
0
NP
*
<div class="der"> <table class="constituent unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent binaryrule" data-cat="N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="Tom" data-from="0" data-to="3" data-cat="N"> <tr><td class="token">Tom</td></tr> <tr><td class="cat" tabindex="0">N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent unaryrule" data-cat="N\N"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent binaryrule" data-cat="S[pss]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="put" data-from="4" data-to="7" data-cat="(S[pss]\NP)/PP"> <tr><td class="token">put</td></tr> <tr><td class="cat" tabindex="0">(S[pss]\NP)/PP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="on" data-from="8" data-to="10" data-cat="PP/NP"> <tr><td class="token">on</td></tr> <tr><td class="cat" tabindex="0">PP/NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="his" data-from="11" data-to="14" data-cat="NP/N"> <tr><td class="token">his</td></tr> <tr><td class="cat" tabindex="0">NP/N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="socks" data-from="15" data-to="20" data-cat="N"> <tr><td class="token">socks</td></tr> <tr><td class="cat" tabindex="0">N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">NP</div> <div class="rule" title="Forward Application">> <sup>0</sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="." data-from="20" data-to="21" data-cat="."> <tr><td class="token">.</td></tr> <tr><td class="cat" tabindex="0">.</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">NP</div> <div class="rule" title="Remove Punctuation">.</div> </div></td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">PP</div> <div class="rule" title="Forward Application">> <sup>0</sup> </div> </div></td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">S[pss]\NP</div> <div class="rule" title="Forward Application">> <sup>0</sup> </div> </div></td></tr> </table></td></tr> <tr><td class="rulecat"><div class="rulecat"> <div class="cat">N\N</div> <div class="rule" title="Type Changing"> * </div> </div></td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">N</div> <div class="rule" title="Backward Application">< <sup>0</sup> </div> </div></td></tr> </table></td></tr> <tr><td class="rulecat"><div class="rulecat"> <div class="cat">NP</div> <div class="rule" title="Type Changing"> * </div> </div></td></tr> </table> </div>
Use with
der.css
.
\begin{tikzpicture}[ampersand replacement=\&] \matrix [column sep=9pt] at (0, 0) { \lexnode*{idm11}{Tom}{\catN}{} \& \lexnode*{idm31}{put}{(\catS[pss]\?\catNP)/\catPP}{} \& \lexnode*{idm48}{on}{\catPP/\catNP}{} \& \lexnode*{idm68}{his}{\catNP/\catN}{} \& \lexnode*{idm78}{socks}{\catN}{} \& \lexnode*{idm86}{.}{\cat.}{} \\ }; \binnode*{idm63}{idm68-cat}{idm78-cat}{\FC{0}}{\catNP}{} \binnode*{idm58}{idm63}{idm86-cat}{.}{\catNP}{} \binnode*{idm43}{idm48-cat}{idm58}{\FC{0}}{\catPP}{} \binnode*{idm24}{idm31-cat}{idm43}{\FC{0}}{\catS[pss]\?\catNP}{} \unnode*{idm19}{idm24}{*}{\catN\?\catN}{} \binnode*{idm6}{idm11-cat}{idm19}{\BC{0}}{\catN}{} \unnode*{idm3}{idm6}{*}{\catNP}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
ell
Ο Τομ φόρεσε τις κάλτσες του.
eng
Tom put his socks on.
nld
Tom doet zijn sokken aan.
por
Tom calçou as meias.
rus
Том надел носки.
spa
Tom se puso calcetines.
ukr
Том одягнув шкарпетки.