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
Do
(S[q]/(S[b]\NP))/NP
you
NP
S[q]/(S[b]\NP)
>
0
know
(S[b]\NP)/NP
what
NP/(S[dcl]/NP)
Tom
N
NP
*
S[X]/(S[X]\NP)
T
>
is
(S[dcl]\NP)/(S[ng]\NP)
doing
(S[ng]\NP)/NP
(S[dcl]\NP)/NP
>
1
?
.
(S[dcl]\NP)/NP
.
S[dcl]/NP
>
1
NP
>
0
S[b]\NP
>
0
S[q]
>
0
<div class="der"> <table class="constituent binaryrule" data-cat="S[q]"> <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="Do" data-from="0" data-to="2" data-cat="(S[q]/(S[b]\NP))/NP"> <tr><td class="token">Do</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="3" data-to="6" 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"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="know" data-from="7" data-to="11" data-cat="(S[b]\NP)/NP"> <tr><td class="token">know</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="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="what" data-from="12" data-to="16" data-cat="NP/(S[dcl]/NP)"> <tr><td class="token">what</td></tr> <tr><td class="cat" tabindex="0">NP/(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[dcl]/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent unaryrule" data-cat="S[X]/(S[X]\NP)"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="Tom" data-from="17" data-to="20" 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></tr> <tr><td class="rulecat"><div class="rulecat"> <div class="cat">S[X]/(S[X]\NP)</div> <div class="rule" title="Forward Type Raising"> T <sup>></sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="(S[dcl]\NP)/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="(S[dcl]\NP)/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="is" data-from="21" data-to="23" data-cat="(S[dcl]\NP)/(S[ng]\NP)"> <tr><td class="token">is</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/(S[ng]\NP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="doing" data-from="24" data-to="29" data-cat="(S[ng]\NP)/NP"> <tr><td class="token">doing</td></tr> <tr><td class="cat" tabindex="0">(S[ng]\NP)/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[dcl]\NP)/NP</div> <div class="rule" title="Forward Composition">> <sup>1</sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="?" data-from="29" data-to="30" 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[dcl]\NP)/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[dcl]/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">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[b]\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[q]</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*{idm17}{Do}{(\catS[q]/(\catS[b]\?\catNP))/\catNP}{} \& \lexnode*{idm31}{you}{\catNP}{} \& \lexnode*{idm46}{know}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm63}{what}{\catNP/(\catS[dcl]/\catNP)}{} \& \lexnode*{idm92}{Tom}{\catN}{} \& \lexnode*{idm118}{is}{(\catS[dcl]\?\catNP)/(\catS[ng]\?\catNP)}{} \& \lexnode*{idm132}{doing}{(\catS[ng]\?\catNP)/\catNP}{} \& \lexnode*{idm144}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm17-cat}{idm31-cat}{\FC{0}}{\catS[q]/(\catS[b]\?\catNP)}{} \unnode*{idm89}{idm92-cat}{*}{\catNP}{} \unnode*{idm82}{idm89}{\FTR}{\catS[X]/(\catS[X]\?\catNP)}{} \binnode*{idm109}{idm118-cat}{idm132-cat}{\FC{1}}{(\catS[dcl]\?\catNP)/\catNP}{} \binnode*{idm100}{idm109}{idm144-cat}{.}{(\catS[dcl]\?\catNP)/\catNP}{} \binnode*{idm75}{idm82}{idm100}{\FC{1}}{\catS[dcl]/\catNP}{} \binnode*{idm58}{idm63-cat}{idm75}{\FC{0}}{\catNP}{} \binnode*{idm39}{idm46-cat}{idm58}{\FC{0}}{\catS[b]\?\catNP}{} \binnode*{idm3}{idm8}{idm39}{\FC{0}}{\catS[q]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Weisst du, was Tom gerade macht?
ita
Sai cosa sta facendo Tom?
ita
Sapete cosa sta facendo Tom?
ita
Sa cosa sta facendo Tom?
lat
Scisne quod Thomas agit?
nld
Weet jij wat Tom aan het doen is?
por
Você sabe o que Tom está fazendo?
rus
Вы знаете, что делает Том?
rus
Ты знаешь, что делает Том?