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
John
N
NP
*
is
(S[dcl]\NP)/NP
a
NP/N
good
N/N
student
N
N
>
0
NP
>
0
.
.
NP
.
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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="John" data-from="0" data-to="4" data-cat="N"> <tr><td class="token">John</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="S[dcl]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="is" data-from="5" data-to="7" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">is</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 binaryrule" data-cat="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="a" data-from="8" data-to="9" data-cat="NP/N"> <tr><td class="token">a</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 binaryrule" data-cat="N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="good" data-from="10" data-to="14" data-cat="N/N"> <tr><td class="token">good</td></tr> <tr><td class="cat" tabindex="0">N/N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="student" data-from="15" data-to="22" data-cat="N"> <tr><td class="token">student</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">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">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 lex" data-token="." data-from="22" data-to="23" 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> </div>
Use with
der.css
.
\begin{tikzpicture}[ampersand replacement=\&] \matrix [column sep=9pt] at (0, 0) { \lexnode*{idm11}{John}{\catN}{} \& \lexnode*{idm26}{is}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm48}{a}{\catNP/\catN}{} \& \lexnode*{idm63}{good}{\catN/\catN}{} \& \lexnode*{idm73}{student}{\catN}{} \& \lexnode*{idm81}{.}{\cat.}{} \\ }; \unnode*{idm8}{idm11-cat}{*}{\catNP}{} \binnode*{idm58}{idm63-cat}{idm73-cat}{\FC{0}}{\catN}{} \binnode*{idm43}{idm48-cat}{idm58}{\FC{0}}{\catNP}{} \binnode*{idm38}{idm43}{idm81-cat}{.}{\catNP}{} \binnode*{idm19}{idm26-cat}{idm38}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8}{idm19}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
John ist ein guter Schüler.
fra
John est un bon élève.
fra
John est bon élève.
ita
John è un buon studente.
ita
John è un bravo studente.
lat
Ioannes discipulus probus est.
nld
John is een goede student.
por
John é um bom estudante.
por
John é um bom aluno.
rus
Джон - хороший ученик.
spa
John es un buen estudiante.
tgl
Mabuting estudyante si John.