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
told
((S[dcl]\NP)/S[em])/NP
her
NP
(S[dcl]\NP)/S[em]
>
0
that
S[em]/S[dcl]
he
NP
loved
(S[dcl]\NP)/NP
her
NP
.
.
NP
.
S[dcl]\NP
>
0
S[dcl]
<
0
S[em]
>
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="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 binaryrule" data-cat="(S[dcl]\NP)/S[em]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="told" data-from="3" data-to="7" data-cat="((S[dcl]\NP)/S[em])/NP"> <tr><td class="token">told</td></tr> <tr><td class="cat" tabindex="0">((S[dcl]\NP)/S[em])/NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="her" data-from="8" data-to="11" data-cat="NP"> <tr><td class="token">her</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[dcl]\NP)/S[em]</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[em]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="that" data-from="12" data-to="16" data-cat="S[em]/S[dcl]"> <tr><td class="token">that</td></tr> <tr><td class="cat" tabindex="0">S[em]/S[dcl]</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><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="17" data-to="19" 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="loved" data-from="20" data-to="25" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">loved</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="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="her" data-from="26" data-to="29" data-cat="NP"> <tr><td class="token">her</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 lex" data-token="." data-from="29" data-to="30" 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[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></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">S[em]</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}{He}{\catNP}{} \& \lexnode*{idm32}{told}{((\catS[dcl]\?\catNP)/\catS[em])/\catNP}{} \& \lexnode*{idm46}{her}{\catNP}{} \& \lexnode*{idm59}{that}{\catS[em]/\catS[dcl]}{} \& \lexnode*{idm74}{he}{\catNP}{} \& \lexnode*{idm89}{loved}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm106}{her}{\catNP}{} \& \lexnode*{idm114}{.}{\cat.}{} \\ }; \binnode*{idm23}{idm32-cat}{idm46-cat}{\FC{0}}{(\catS[dcl]\?\catNP)/\catS[em]}{} \binnode*{idm101}{idm106-cat}{idm114-cat}{.}{\catNP}{} \binnode*{idm82}{idm89-cat}{idm101}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm69}{idm74-cat}{idm82}{\BC{0}}{\catS[dcl]}{} \binnode*{idm54}{idm59-cat}{idm69}{\FC{0}}{\catS[em]}{} \binnode*{idm16}{idm23}{idm54}{\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 erklärte ihr seine Liebe.
deu
Er erzählte ihr, dass er sie liebt.
fra
Il lui a dit qu'il l'aimait.
ita
Le ha detto che la amava.
ita
Le disse che la amava.
por
Disse-lhe que a queria.
rus
Он сказал ей, что любит её.
spa
Le dijo que la quería.