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
He
NP
knows
(S[dcl]\NP)/S[qem]
how
S[qem]/(S[to]\NP)
to
(S[to]\NP)/(S[b]\NP)
play
(S[b]\NP)/NP
the
NP/N
piano
N
NP
>
0
S[b]\NP
>
0
S[to]\NP
>
0
S[qem]
>
0
.
.
S[qem]
.
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="He" data-from="0" data-to="2" data-cat="NP"> <tr><td class="token">He</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="knows" data-from="3" data-to="8" data-cat="(S[dcl]\NP)/S[qem]"> <tr><td class="token">knows</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/S[qem]</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="S[qem]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="S[qem]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="how" data-from="9" data-to="12" data-cat="S[qem]/(S[to]\NP)"> <tr><td class="token">how</td></tr> <tr><td class="cat" tabindex="0">S[qem]/(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="13" data-to="15" 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="play" data-from="16" data-to="20" data-cat="(S[b]\NP)/NP"> <tr><td class="token">play</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 lex" data-token="the" data-from="21" data-to="24" 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="piano" data-from="25" data-to="30" data-cat="N"> <tr><td class="token">piano</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">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[qem]</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="30" data-to="31" 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">S[qem]</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[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}{He}{\catNP}{} \& \lexnode*{idm23}{knows}{(\catS[dcl]\?\catNP)/\catS[qem]}{} \& \lexnode*{idm45}{how}{\catS[qem]/(\catS[to]\?\catNP)}{} \& \lexnode*{idm64}{to}{(\catS[to]\?\catNP)/(\catS[b]\?\catNP)}{} \& \lexnode*{idm85}{play}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm102}{the}{\catNP/\catN}{} \& \lexnode*{idm112}{piano}{\catN}{} \& \lexnode*{idm120}{.}{\cat.}{} \\ }; \binnode*{idm97}{idm102-cat}{idm112-cat}{\FC{0}}{\catNP}{} \binnode*{idm78}{idm85-cat}{idm97}{\FC{0}}{\catS[b]\?\catNP}{} \binnode*{idm57}{idm64-cat}{idm78}{\FC{0}}{\catS[to]\?\catNP}{} \binnode*{idm40}{idm45-cat}{idm57}{\FC{0}}{\catS[qem]}{} \binnode*{idm35}{idm40}{idm120-cat}{.}{\catS[qem]}{} \binnode*{idm16}{idm23-cat}{idm35}{\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
Er kann Klavier spielen.
fra
Il sait jouer du piano.
ita
Lui sa suonare il piano.
ita
Sa suonare il piano.
ita
Lui sa suonare il pianoforte.
ita
Sa suonare il pianoforte.
rus
Он умеет играть на пианино.
spa
Sabe tocar el piano.
spa
Él sabe cómo tocar el piano.