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
*
gave
((S[dcl]\NP)/PP)/NP
a
NP/N
bone
N
NP
>
0
(S[dcl]\NP)/PP
>
0
to
PP/NP
his
NP/N
dog
N
NP
>
0
.
.
NP
.
PP
>
0
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 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 binaryrule" data-cat="S[dcl]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="(S[dcl]\NP)/PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="gave" data-from="4" data-to="8" data-cat="((S[dcl]\NP)/PP)/NP"> <tr><td class="token">gave</td></tr> <tr><td class="cat" tabindex="0">((S[dcl]\NP)/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 lex" data-token="a" data-from="9" data-to="10" 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 lex" data-token="bone" data-from="11" data-to="15" data-cat="N"> <tr><td class="token">bone</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> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">(S[dcl]\NP)/PP</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="PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="to" data-from="16" data-to="18" data-cat="PP/NP"> <tr><td class="token">to</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="19" data-to="22" 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="dog" data-from="23" data-to="26" data-cat="N"> <tr><td class="token">dog</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="26" data-to="27" 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[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*{idm11}{Tom}{\catN}{} \& \lexnode*{idm35}{gave}{((\catS[dcl]\?\catNP)/\catPP)/\catNP}{} \& \lexnode*{idm54}{a}{\catNP/\catN}{} \& \lexnode*{idm64}{bone}{\catN}{} \& \lexnode*{idm77}{to}{\catPP/\catNP}{} \& \lexnode*{idm97}{his}{\catNP/\catN}{} \& \lexnode*{idm107}{dog}{\catN}{} \& \lexnode*{idm115}{.}{\cat.}{} \\ }; \unnode*{idm8}{idm11-cat}{*}{\catNP}{} \binnode*{idm49}{idm54-cat}{idm64-cat}{\FC{0}}{\catNP}{} \binnode*{idm26}{idm35-cat}{idm49}{\FC{0}}{(\catS[dcl]\?\catNP)/\catPP}{} \binnode*{idm92}{idm97-cat}{idm107-cat}{\FC{0}}{\catNP}{} \binnode*{idm87}{idm92}{idm115-cat}{.}{\catNP}{} \binnode*{idm72}{idm77-cat}{idm87}{\FC{0}}{\catPP}{} \binnode*{idm19}{idm26}{idm72}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8}{idm19}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
ell
Ο Τομ έδωσε ένα κόκαλο στο σκυλί του.
ell
Ο Τομ έδωσε ένα κόκαλο στον σκύλο του.
eng
Tom gave his dog a bone.
ita
Tom diede un osso al suo cane.
ita
Tom ha dato un osso al suo cane.
por
Tom deu um osso ao cachorro dele.
rus
Том дал своей собаке кость.
rus
Том дал своему псу кость.
spa
Tom le dio un hueso a su perro.
ukr
Том дав своєму собаці кість.