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
We
NP
slept
S[dcl]\NP
in
((S\NP)\(S\NP))/NP
a
NP/N
tent
N
NP
>
0
.
.
NP
.
(S\NP)\(S\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 lex" data-token="We" data-from="0" data-to="2" data-cat="NP"> <tr><td class="token">We</td></tr> <tr><td class="cat" tabindex="0">NP</td></tr> <tr><td class="span-swiper"> </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="slept" data-from="3" data-to="8" data-cat="S[dcl]\NP"> <tr><td class="token">slept</td></tr> <tr><td class="cat" tabindex="0">S[dcl]\NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="(S\NP)\(S\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="in" data-from="9" data-to="11" data-cat="((S\NP)\(S\NP))/NP"> <tr><td class="token">in</td></tr> <tr><td class="cat" tabindex="0">((S\NP)\(S\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 binaryrule" data-cat="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="a" data-from="12" data-to="13" 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="tent" data-from="14" data-to="18" data-cat="N"> <tr><td class="token">tent</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="18" data-to="19" 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\NP)\(S\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="Backward 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*{idm8}{We}{\catNP}{} \& \lexnode*{idm23}{slept}{\catS[dcl]\?\catNP}{} \& \lexnode*{idm44}{in}{((\catS\?\catNP)\?(\catS\?\catNP))/\catNP}{} \& \lexnode*{idm70}{a}{\catNP/\catN}{} \& \lexnode*{idm80}{tent}{\catN}{} \& \lexnode*{idm88}{.}{\cat.}{} \\ }; \binnode*{idm65}{idm70-cat}{idm80-cat}{\FC{0}}{\catNP}{} \binnode*{idm60}{idm65}{idm88-cat}{.}{\catNP}{} \binnode*{idm33}{idm44-cat}{idm60}{\FC{0}}{(\catS\?\catNP)\?(\catS\?\catNP)}{} \binnode*{idm16}{idm23-cat}{idm33}{\BC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8-cat}{idm16}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Wir schliefen in einem Zelt.
deu
Wir haben gezeltet.
ita
Noi abbiamo dormito in una tenda.
ita
Dormimmo in una tenda.
ita
Noi dormimmo in una tenda.
ita
Abbiamo dormito in una tenda.
por
Dormimos numa barraca.
rus
Мы спали в палатке.
spa
Dormimos en una carpa.
tgl
Natulog kami sa tolda.
ukr
Ми спали у палатці.