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
NP
*
's
(NP/(N/PP))\NP
NP/(N/PP)
<
0
uncle
N/PP
NP
>
0
sent
((S[dcl]\NP)/NP)/NP
him
NP
(S[dcl]\NP)/NP
>
0
a
NP/N
Christmas
N/N
card
N
N
>
0
NP
>
0
.
.
NP
.
S[dcl]\NP
>
0
S[dcl]
<
0
<div class="der"> <table class="constituent binaryrule" data-cat="S[dcl]"> <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 binaryrule" data-cat="NP/(N/PP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><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></tr> <tr><td class="rulecat"><div class="rulecat"> <div class="cat">NP</div> <div class="rule" title="Type Changing"> * </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="'s" data-from="3" data-to="5" data-cat="(NP/(N/PP))\NP"> <tr><td class="token">'s</td></tr> <tr><td class="cat" tabindex="0">(NP/(N/PP))\NP</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/(N/PP)</div> <div class="rule" title="Backward Application">< <sup>0</sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="uncle" data-from="6" data-to="11" data-cat="N/PP"> <tr><td class="token">uncle</td></tr> <tr><td class="cat" tabindex="0">N/PP</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 binaryrule" data-cat="S[dcl]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="(S[dcl]\NP)/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="sent" data-from="12" data-to="16" data-cat="((S[dcl]\NP)/NP)/NP"> <tr><td class="token">sent</td></tr> <tr><td class="cat" tabindex="0">((S[dcl]\NP)/NP)/NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="him" data-from="17" data-to="20" data-cat="NP"> <tr><td class="token">him</td></tr> <tr><td class="cat" tabindex="0">NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">(S[dcl]\NP)/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 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="a" data-from="21" data-to="22" data-cat="NP/N"> <tr><td class="token">a</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 binaryrule" data-cat="N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="Christmas" data-from="23" data-to="32" data-cat="N/N"> <tr><td class="token">Christmas</td></tr> <tr><td class="cat" tabindex="0">N/N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="card" data-from="33" data-to="37" data-cat="N"> <tr><td class="token">card</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">N</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">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="37" data-to="38" 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">S[dcl]\NP</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[dcl]</div> <div class="rule" title="Backward Application">< <sup>0</sup> </div> </div></td></tr> </table> </div>
Use with
der.css
.
\begin{tikzpicture}[ampersand replacement=\&] \matrix [column sep=9pt] at (0, 0) { \lexnode*{idm25}{Tom}{\catN}{} \& \lexnode*{idm33}{'s}{(\catNP/(\catN/\catPP))\?\catNP}{} \& \lexnode*{idm47}{uncle}{\catN/\catPP}{} \& \lexnode*{idm73}{sent}{((\catS[dcl]\?\catNP)/\catNP)/\catNP}{} \& \lexnode*{idm87}{him}{\catNP}{} \& \lexnode*{idm105}{a}{\catNP/\catN}{} \& \lexnode*{idm120}{Christmas}{\catN/\catN}{} \& \lexnode*{idm130}{card}{\catN}{} \& \lexnode*{idm138}{.}{\cat.}{} \\ }; \unnode*{idm22}{idm25-cat}{*}{\catNP}{} \binnode*{idm13}{idm22}{idm33-cat}{\BC{0}}{\catNP/(\catN/\catPP)}{} \binnode*{idm8}{idm13}{idm47-cat}{\FC{0}}{\catNP}{} \binnode*{idm64}{idm73-cat}{idm87-cat}{\FC{0}}{(\catS[dcl]\?\catNP)/\catNP}{} \binnode*{idm115}{idm120-cat}{idm130-cat}{\FC{0}}{\catN}{} \binnode*{idm100}{idm105-cat}{idm115}{\FC{0}}{\catNP}{} \binnode*{idm95}{idm100}{idm138-cat}{.}{\catNP}{} \binnode*{idm57}{idm64}{idm95}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8}{idm57}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
fra
L'oncle de Tom lui a envoyé une carte de Noël.
nld
Toms oom stuurde hem een kerstkaartje.
nld
Toms oom heeft hem een kerstkaartje gestuurd.
nld
Toms oom stuurde hem een kerstkaart.
nld
Toms oom heeft hem een kerstkaart gestuurd.
ukr
Дядько Тома відправив йому різдвяну листівку.