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
What
S[wq]/(S[q]/NP)
'll
(S[q]/(S[b]\NP))/NP
you
NP
S[q]/(S[b]\NP)
>
0
do
(S[b]\NP)/NP
tomorrow
(S\NP)\(S\NP)
?
.
(S\NP)\(S\NP)
.
(S[b]\NP)/NP
<
1
×
S[q]/NP
>
1
S[wq]
>
0
<div class="der"> <table class="constituent binaryrule" data-cat="S[wq]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="What" data-from="0" data-to="4" data-cat="S[wq]/(S[q]/NP)"> <tr><td class="token">What</td></tr> <tr><td class="cat" tabindex="0">S[wq]/(S[q]/NP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="S[q]/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="S[q]/(S[b]\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="'ll" data-from="4" data-to="7" data-cat="(S[q]/(S[b]\NP))/NP"> <tr><td class="token">'ll</td></tr> <tr><td class="cat" tabindex="0">(S[q]/(S[b]\NP))/NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="you" data-from="8" data-to="11" data-cat="NP"> <tr><td class="token">you</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[q]/(S[b]\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[b]\NP)/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="do" data-from="12" data-to="14" data-cat="(S[b]\NP)/NP"> <tr><td class="token">do</td></tr> <tr><td class="cat" tabindex="0">(S[b]\NP)/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="tomorrow" data-from="15" data-to="23" data-cat="(S\NP)\(S\NP)"> <tr><td class="token">tomorrow</td></tr> <tr><td class="cat" tabindex="0">(S\NP)\(S\NP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="?" data-from="23" data-to="24" 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">(S\NP)\(S\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[b]\NP)/NP</div> <div class="rule" title="Backward Crossed Composition">< <sup>1</sup><sub>×</sub> </div> </div></td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">S[q]/NP</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">S[wq]</div> <div class="rule" title="Forward 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}{What}{\catS[wq]/(\catS[q]/\catNP)}{} \& \lexnode*{idm36}{'ll}{(\catS[q]/(\catS[b]\?\catNP))/\catNP}{} \& \lexnode*{idm50}{you}{\catNP}{} \& \lexnode*{idm67}{do}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm90}{tomorrow}{(\catS\?\catNP)\?(\catS\?\catNP)}{} \& \lexnode*{idm104}{?}{\cat.}{} \\ }; \binnode*{idm27}{idm36-cat}{idm50-cat}{\FC{0}}{\catS[q]/(\catS[b]\?\catNP)}{} \binnode*{idm79}{idm90-cat}{idm104-cat}{.}{(\catS\?\catNP)\?(\catS\?\catNP)}{} \binnode*{idm58}{idm67-cat}{idm79}{\BXC{1}}{(\catS[b]\?\catNP)/\catNP}{} \binnode*{idm20}{idm27}{idm58}{\FC{1}}{\catS[q]/\catNP}{} \binnode*{idm3}{idm8-cat}{idm20}{\FC{0}}{\catS[wq]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Was wirst du morgen machen?
fra
Que vas-tu faire demain ?
nld
Wat ga je doen morgen?
por
O que você vai fazer amanhã?
por
O que vocês vão fazer amanhã?
por
Amanhã o que você vai fazer?
rus
Что будешь делать завтра?
spa
¿Qué haces mañana?
ukr
Що ти завтра робитимеш?