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
have
(S[b]\NP)/NP
any
NP/N
water
N
NP
>
0
?
.
NP
.
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="have" data-from="7" data-to="11" data-cat="(S[b]\NP)/NP"> <tr><td class="token">have</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 binaryrule" data-cat="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="any" data-from="12" data-to="15" data-cat="NP/N"> <tr><td class="token">any</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 lex" data-token="water" data-from="16" data-to="21" data-cat="N"> <tr><td class="token">water</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">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="21" data-to="22" 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[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}{have}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm68}{any}{\catNP/\catN}{} \& \lexnode*{idm78}{water}{\catN}{} \& \lexnode*{idm86}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm17-cat}{idm31-cat}{\FC{0}}{\catS[q]/(\catS[b]\?\catNP)}{} \binnode*{idm63}{idm68-cat}{idm78-cat}{\FC{0}}{\catNP}{} \binnode*{idm58}{idm63}{idm86-cat}{.}{\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
Haben Sie etwas Wasser?
deu
Hast du etwas Wasser?
fra
Avez-vous la moindre eau ?
fra
As-tu la moindre eau ?
por
Você tem um pouco de água?
ukr
У вас є вода?