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
Would
(S[q]/(S[b]\NP))/NP
you
NP
S[q]/(S[b]\NP)
>
0
like
(S[b]\NP)/NP
tea
N
NP
*
or
conj
coffee
N
NP
*
?
.
NP
.
NP\NP
∨
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="Would" data-from="0" data-to="5" data-cat="(S[q]/(S[b]\NP))/NP"> <tr><td class="token">Would</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="6" data-to="9" 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="like" data-from="10" data-to="14" data-cat="(S[b]\NP)/NP"> <tr><td class="token">like</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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="tea" data-from="15" data-to="18" data-cat="N"> <tr><td class="token">tea</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 binaryrule" data-cat="NP\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="or" data-from="19" data-to="21" data-cat="conj"> <tr><td class="token">or</td></tr> <tr><td class="cat" tabindex="0">conj</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="coffee" data-from="22" data-to="28" data-cat="N"> <tr><td class="token">coffee</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="28" data-to="29" 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">NP\NP</div> <div class="rule" title="Conjunction">∨</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="Backward 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}{Would}{(\catS[q]/(\catS[b]\?\catNP))/\catNP}{} \& \lexnode*{idm31}{you}{\catNP}{} \& \lexnode*{idm46}{like}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm66}{tea}{\catN}{} \& \lexnode*{idm81}{or}{\catconj}{} \& \lexnode*{idm97}{coffee}{\catN}{} \& \lexnode*{idm105}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm17-cat}{idm31-cat}{\FC{0}}{\catS[q]/(\catS[b]\?\catNP)}{} \unnode*{idm63}{idm66-cat}{*}{\catNP}{} \unnode*{idm94}{idm97-cat}{*}{\catNP}{} \binnode*{idm89}{idm94}{idm105-cat}{.}{\catNP}{} \binnode*{idm74}{idm81-cat}{idm89}{\wedge}{\catNP\?\catNP}{} \binnode*{idm58}{idm63}{idm74}{\BC{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
Möchtest du Tee oder Kaffee trinken?
deu
Möchten Sie Tee oder Kaffee?
deu
Möchtest du Tee oder Kaffee?
deu
Wünschen Sie Tee oder Kaffee?
eng
Would you like some tea or coffee?
fra
Aimeriez-vous du thé ou du café ?
fra
Préféreriez-vous un thé ou un café ?
por
Você gostaria de chá ou café?
por
Você prefere chá ou café?
rus
Вы хотите чай или кофе?
rus
Вам чай или кофе?
rus
Не хотите ли чаю или кофе?
rus
Тебе чай или кофе?
rus
Желаете чай или кофе?
spa
¿Queréis tomar té o café?
tgl
Anong gusto mo, tsaa o kape?
ukr
Хочеш чаю чи кави?
ukr
Хочете чаю чи кави?