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
Did
(S[q]/(S[b]\NP))/NP
you
NP
S[q]/(S[b]\NP)
>
0
do
(S[b]\NP)/NP
what
NP/(S[dcl]/NP)
I
NP
S[X]/(S[X]\NP)
T
>
asked
((S[dcl]\NP)/(S[to]\NP))/NP
you
NP
(S[dcl]\NP)/(S[to]\NP)
>
0
to
(S[to]\NP)/(S[b]\NP)
do
(S[b]\NP)/NP
(S[to]\NP)/NP
>
1
?
.
(S[to]\NP)/NP
.
(S[dcl]\NP)/NP
>
1
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="Did" data-from="0" data-to="3" data-cat="(S[q]/(S[b]\NP))/NP"> <tr><td class="token">Did</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="4" data-to="7" 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="do" data-from="8" data-to="10" 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="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="what" data-from="11" data-to="15" 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 lex" data-token="I" data-from="16" data-to="17" 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></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)/(S[to]\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="asked" data-from="18" data-to="23" data-cat="((S[dcl]\NP)/(S[to]\NP))/NP"> <tr><td class="token">asked</td></tr> <tr><td class="cat" tabindex="0">((S[dcl]\NP)/(S[to]\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="24" data-to="27" 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[dcl]\NP)/(S[to]\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[to]\NP)/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="(S[to]\NP)/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="to" data-from="28" data-to="30" data-cat="(S[to]\NP)/(S[b]\NP)"> <tr><td class="token">to</td></tr> <tr><td class="cat" tabindex="0">(S[to]\NP)/(S[b]\NP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="do" data-from="31" data-to="33" 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> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">(S[to]\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="33" data-to="34" 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[to]\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)/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[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}{Did}{(\catS[q]/(\catS[b]\?\catNP))/\catNP}{} \& \lexnode*{idm31}{you}{\catNP}{} \& \lexnode*{idm46}{do}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm63}{what}{\catNP/(\catS[dcl]/\catNP)}{} \& \lexnode*{idm89}{I}{\catNP}{} \& \lexnode*{idm117}{asked}{((\catS[dcl]\?\catNP)/(\catS[to]\?\catNP))/\catNP}{} \& \lexnode*{idm133}{you}{\catNP}{} \& \lexnode*{idm159}{to}{(\catS[to]\?\catNP)/(\catS[b]\?\catNP)}{} \& \lexnode*{idm173}{do}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm185}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm17-cat}{idm31-cat}{\FC{0}}{\catS[q]/(\catS[b]\?\catNP)}{} \unnode*{idm82}{idm89-cat}{\FTR}{\catS[X]/(\catS[X]\?\catNP)}{} \binnode*{idm106}{idm117-cat}{idm133-cat}{\FC{0}}{(\catS[dcl]\?\catNP)/(\catS[to]\?\catNP)}{} \binnode*{idm150}{idm159-cat}{idm173-cat}{\FC{1}}{(\catS[to]\?\catNP)/\catNP}{} \binnode*{idm141}{idm150}{idm185-cat}{.}{(\catS[to]\?\catNP)/\catNP}{} \binnode*{idm97}{idm106}{idm141}{\FC{1}}{(\catS[dcl]\?\catNP)/\catNP}{} \binnode*{idm75}{idm82}{idm97}{\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
Habt ihr gemacht, worum ich euch gebeten habe?
deu
Hast du getan, worum ich dich gebeten habe?
deu
Haben Sie erledigt, worum ich Sie gebeten habe?
rus
Вы сделали то, о чём я вас просил?
rus
Ты сделал то, о чём я тебя просил?