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
Did
(S[q]/(S[b]\NP))/NP
you
NP
S[q]/(S[b]\NP)
>
0
go
(S[b]\NP)/PP
to
PP/NP
the
NP/N
book
N/N
fair
N
N
>
0
NP
>
0
?
.
NP
.
PP
>
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="go" data-from="8" data-to="10" data-cat="(S[b]\NP)/PP"> <tr><td class="token">go</td></tr> <tr><td class="cat" tabindex="0">(S[b]\NP)/PP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="to" data-from="11" data-to="13" data-cat="PP/NP"> <tr><td class="token">to</td></tr> <tr><td class="cat" tabindex="0">PP/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="the" data-from="14" data-to="17" data-cat="NP/N"> <tr><td class="token">the</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 binaryrule" data-cat="N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="book" data-from="18" data-to="22" data-cat="N/N"> <tr><td class="token">book</td></tr> <tr><td class="cat" tabindex="0">N/N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="fair" data-from="23" data-to="27" data-cat="N"> <tr><td class="token">fair</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">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">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="27" data-to="28" 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">PP</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}{go}{(\catS[b]\?\catNP)/\catPP}{} \& \lexnode*{idm63}{to}{\catPP/\catNP}{} \& \lexnode*{idm83}{the}{\catNP/\catN}{} \& \lexnode*{idm98}{book}{\catN/\catN}{} \& \lexnode*{idm108}{fair}{\catN}{} \& \lexnode*{idm116}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm17-cat}{idm31-cat}{\FC{0}}{\catS[q]/(\catS[b]\?\catNP)}{} \binnode*{idm93}{idm98-cat}{idm108-cat}{\FC{0}}{\catN}{} \binnode*{idm78}{idm83-cat}{idm93}{\FC{0}}{\catNP}{} \binnode*{idm73}{idm78}{idm116-cat}{.}{\catNP}{} \binnode*{idm58}{idm63-cat}{idm73}{\FC{0}}{\catPP}{} \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
Warst du auf der Buchmesse?
ita
Sei andato alla fiera del libro?
por
Você foi à feira do livro?
rus
Вы ходили на книжную ярмарку?
rus
Ты ходил на книжную ярмарку?
spa
¿Fuiste a la feria del libro?
ukr
Ти ходив на книжковий ярмарок?