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))/N
sport
N
S[wq]/(S[q]/NP)
>
0
do
(S[dcl]\NP)/NP
you
NP
S[X]/(S[X]\NP)
T
>
like
((S\NP)\(S\NP))/NP
best
N
NP
*
?
.
NP
.
(S\NP)\(S\NP)
>
0
S[X]\(S\NP)
>
1
×
S[X]/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 binaryrule" data-cat="S[wq]/(S[q]/NP)"> <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))/N"> <tr><td class="token">What</td></tr> <tr><td class="cat" tabindex="0">(S[wq]/(S[q]/NP))/N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="sport" data-from="5" data-to="10" data-cat="N"> <tr><td class="token">sport</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">S[wq]/(S[q]/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[X]/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="do" data-from="11" data-to="13" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">do</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 binaryrule" data-cat="S[X]\(S\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="you" data-from="14" data-to="17" 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 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\NP)\(S\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="like" data-from="18" data-to="22" data-cat="((S\NP)\(S\NP))/NP"> <tr><td class="token">like</td></tr> <tr><td class="cat" tabindex="0">((S\NP)\(S\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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="best" data-from="23" data-to="27" data-cat="N"> <tr><td class="token">best</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="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">(S\NP)\(S\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[X]\(S\NP)</div> <div class="rule" title="Forward 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[X]/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[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*{idm17}{What}{(\catS[wq]/(\catS[q]/\catNP))/\catN}{} \& \lexnode*{idm31}{sport}{\catN}{} \& \lexnode*{idm46}{do}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm74}{you}{\catNP}{} \& \lexnode*{idm93}{like}{((\catS\?\catNP)\?(\catS\?\catNP))/\catNP}{} \& \lexnode*{idm117}{best}{\catN}{} \& \lexnode*{idm125}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm17-cat}{idm31-cat}{\FC{0}}{\catS[wq]/(\catS[q]/\catNP)}{} \unnode*{idm67}{idm74-cat}{\FTR}{\catS[X]/(\catS[X]\?\catNP)}{} \unnode*{idm114}{idm117-cat}{*}{\catNP}{} \binnode*{idm109}{idm114}{idm125-cat}{.}{\catNP}{} \binnode*{idm82}{idm93-cat}{idm109}{\FC{0}}{(\catS\?\catNP)\?(\catS\?\catNP)}{} \binnode*{idm58}{idm67}{idm82}{\FXC{1}}{\catS[X]\?(\catS\?\catNP)}{} \binnode*{idm39}{idm46-cat}{idm58}{\BXC{1}}{\catS[X]/\catNP}{} \binnode*{idm3}{idm8}{idm39}{\FC{0}}{\catS[wq]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
fra
Quel sport préfères-tu ?
ita
Quale sport preferite?
ita
Quale sport preferisci?
ita
Quale sport preferisce?
lat
Quis ludus magis tibi placet?
lit
Koks sportas tau patinka labiausiai?
por
De que esporte você gosta mais?
rus
Какой вид спорта ты предпочитаешь?
spa
¿Qué deporte te gusta más?