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
I
NP
drink
(S[dcl]\NP)/NP
tea
N
without
(N\N)/NP
sugar
N
NP
*
.
.
NP
.
N\N
>
0
N
<
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 lex" data-token="I" data-from="0" data-to="1" data-cat="NP"> <tr><td class="token">I</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="drink" data-from="2" data-to="7" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">drink</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 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="tea" data-from="8" data-to="11" data-cat="N"> <tr><td class="token">tea</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 binaryrule" data-cat="N\N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="without" data-from="12" data-to="19" data-cat="(N\N)/NP"> <tr><td class="token">without</td></tr> <tr><td class="cat" tabindex="0">(N\N)/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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="sugar" data-from="20" data-to="25" data-cat="N"> <tr><td class="token">sugar</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="." data-from="25" data-to="26" 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">N\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">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></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*{idm8}{I}{\catNP}{} \& \lexnode*{idm23}{drink}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm43}{tea}{\catN}{} \& \lexnode*{idm58}{without}{(\catN\?\catN)/\catNP}{} \& \lexnode*{idm78}{sugar}{\catN}{} \& \lexnode*{idm86}{.}{\cat.}{} \\ }; \unnode*{idm75}{idm78-cat}{*}{\catNP}{} \binnode*{idm70}{idm75}{idm86-cat}{.}{\catNP}{} \binnode*{idm51}{idm58-cat}{idm70}{\FC{0}}{\catN\?\catN}{} \binnode*{idm38}{idm43-cat}{idm51}{\BC{0}}{\catN}{} \unnode*{idm35}{idm38}{*}{\catNP}{} \binnode*{idm16}{idm23-cat}{idm35}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8-cat}{idm16}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
fra
Je bois mon thé sans sucre.
ita
Bevo il tè senza zucchero.
ita
Io bevo il tè senza zucchero.
lat
Bibo theam sine saccharo.
nld
Ik drink thee zonder suiker.
por
Tomo meu chá sem açúcar.
rus
Я пью чай без сахара.
rus
Чай я пью без сахара.
spa
Bebo el té sin azúcar.
ukr
Я п'ю чай без цукру.