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
often
(S\NP)/(S\NP)
play
(S[dcl]\NP)/NP
soccer
N
after
(N\N)/NP
school
N
NP
*
.
.
NP
.
N\N
>
0
N
<
0
NP
*
S[dcl]\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="often" data-from="2" data-to="7" data-cat="(S\NP)/(S\NP)"> <tr><td class="token">often</td></tr> <tr><td class="cat" tabindex="0">(S\NP)/(S\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="play" data-from="8" data-to="12" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">play</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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent binaryrule" data-cat="N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="soccer" data-from="13" data-to="19" data-cat="N"> <tr><td class="token">soccer</td></tr> <tr><td class="cat" tabindex="0">N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="N\N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="after" data-from="20" data-to="25" data-cat="(N\N)/NP"> <tr><td class="token">after</td></tr> <tr><td class="cat" tabindex="0">(N\N)/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="school" data-from="26" data-to="32" data-cat="N"> <tr><td class="token">school</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="32" data-to="33" 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">N\N</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">N</div> <div class="rule" title="Backward Application">< <sup>0</sup> </div> </div></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> </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]\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}{often}{(\catS\?\catNP)/(\catS\?\catNP)}{} \& \lexnode*{idm44}{play}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm64}{soccer}{\catN}{} \& \lexnode*{idm79}{after}{(\catN\?\catN)/\catNP}{} \& \lexnode*{idm99}{school}{\catN}{} \& \lexnode*{idm107}{.}{\cat.}{} \\ }; \unnode*{idm96}{idm99-cat}{*}{\catNP}{} \binnode*{idm91}{idm96}{idm107-cat}{.}{\catNP}{} \binnode*{idm72}{idm79-cat}{idm91}{\FC{0}}{\catN\?\catN}{} \binnode*{idm59}{idm64-cat}{idm72}{\BC{0}}{\catN}{} \unnode*{idm56}{idm59}{*}{\catNP}{} \binnode*{idm37}{idm44-cat}{idm56}{\FC{0}}{\catS[dcl]\?\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
Nach dem Unterricht spiele ich häufig Fußball.
fra
Après les cours, je joue souvent au football.
ita
Io gioco spesso a calcio dopo la scuola.
ita
Gioco spesso a calcio dopo la scuola.
por
Eu frequentemente jogo futebol depois da escola.
rus
Я часто играю в футбол после школы.
spa
Suelo jugar al futbol después de clase.
ukr
Я часто граю у футбол після школи.
ukr
Я часто граю у футбол після занять.