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
I
NP
want
(S[dcl]\NP)/(S[to]\NP)
to
(S[to]\NP)/(S[b]\NP)
travel
(S[b]\NP)/PP
to
PP/NP
the
NP/N
moon
N
NP
>
0
PP
>
0
.
.
PP
.
S[b]\NP
>
0
S[to]\NP
>
0
S[dcl]\NP
>
0
S[dcl]
<
0
<div class="der"> <table class="constituent binaryrule" data-cat="S[dcl]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="I" data-from="0" data-to="1" 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> <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 lex" data-token="want" data-from="2" data-to="6" data-cat="(S[dcl]\NP)/(S[to]\NP)"> <tr><td class="token">want</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/(S[to]\NP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="S[to]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="to" data-from="7" data-to="9" 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 binaryrule" data-cat="S[b]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="travel" data-from="10" data-to="16" data-cat="(S[b]\NP)/PP"> <tr><td class="token">travel</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 binaryrule" data-cat="PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="to" data-from="17" data-to="19" 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 lex" data-token="the" data-from="20" data-to="23" 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 lex" data-token="moon" data-from="24" data-to="28" data-cat="N"> <tr><td class="token">moon</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> </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> <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">PP</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[to]\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[dcl]\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[dcl]</div> <div class="rule" title="Backward 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*{idm8}{I}{\catNP}{} \& \lexnode*{idm23}{want}{(\catS[dcl]\?\catNP)/(\catS[to]\?\catNP)}{} \& \lexnode*{idm44}{to}{(\catS[to]\?\catNP)/(\catS[b]\?\catNP)}{} \& \lexnode*{idm65}{travel}{(\catS[b]\?\catNP)/\catPP}{} \& \lexnode*{idm87}{to}{\catPP/\catNP}{} \& \lexnode*{idm102}{the}{\catNP/\catN}{} \& \lexnode*{idm112}{moon}{\catN}{} \& \lexnode*{idm120}{.}{\cat.}{} \\ }; \binnode*{idm97}{idm102-cat}{idm112-cat}{\FC{0}}{\catNP}{} \binnode*{idm82}{idm87-cat}{idm97}{\FC{0}}{\catPP}{} \binnode*{idm77}{idm82}{idm120-cat}{.}{\catPP}{} \binnode*{idm58}{idm65-cat}{idm77}{\FC{0}}{\catS[b]\?\catNP}{} \binnode*{idm37}{idm44-cat}{idm58}{\FC{0}}{\catS[to]\?\catNP}{} \binnode*{idm16}{idm23-cat}{idm37}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8-cat}{idm16}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Ich will zum Mond reisen.
fra
Je veux voyager sur la Lune.
ita
Io voglio viaggiare sulla luna.
ita
Voglio viaggiare sulla luna.
nld
Ik wil naar de maan reizen.
por
Quero viajar para a Lua.
rus
Я хочу полететь на Луну.
spa
Quiero viajar a la luna.
spa
Quiero volar a la Luna.
ukr
Я хочу полетіти на Місяць.