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
Previous
Next
Parse
auto
visual
HTML
LaTeX
Tom
N
NP
*
got
(S[dcl]\NP)/NP
his
NP/(N/PP)
hair
N/N
cut
N/PP
.
.
N/PP
.
N/PP
>
1
NP
>
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 lex" data-token="got" data-from="4" data-to="7" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">got</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/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="his" data-from="8" data-to="11" data-cat="NP/(N/PP)"> <tr><td class="token">his</td></tr> <tr><td class="cat" tabindex="0">NP/(N/PP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="N/PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="hair" data-from="12" data-to="16" data-cat="N/N"> <tr><td class="token">hair</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 binaryrule" data-cat="N/PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="cut" data-from="17" data-to="20" data-cat="N/PP"> <tr><td class="token">cut</td></tr> <tr><td class="cat" tabindex="0">N/PP</td></tr> <tr><td class="span-swiper"> </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">N/PP</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">N/PP</div> <div class="rule" title="Forward Composition">> <sup>1</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> </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*{idm26}{got}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm43}{his}{\catNP/(\catN/\catPP)}{} \& \lexnode*{idm62}{hair}{\catN/\catN}{} \& \lexnode*{idm79}{cut}{\catN/\catPP}{} \& \lexnode*{idm89}{.}{\cat.}{} \\ }; \unnode*{idm8}{idm11-cat}{*}{\catNP}{} \binnode*{idm72}{idm79-cat}{idm89-cat}{.}{\catN/\catPP}{} \binnode*{idm55}{idm62-cat}{idm72}{\FC{1}}{\catN/\catPP}{} \binnode*{idm38}{idm43-cat}{idm55}{\FC{0}}{\catNP}{} \binnode*{idm19}{idm26-cat}{idm38}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8}{idm19}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Tom ließ sich die Haare schneiden.
fra
Tom s'est fait couper les cheveux.
ita
Tom si fece tagliare i capelli.
ita
Tom si è fatto tagliare i capelli.
por
Tom cortou o cabelo.
rus
Том подстригся.
rus
Том постригся.
spa
Tom se cortó el pelo.
ukr
Том підстригся.