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
Tom
N
NP
*
has
(S[dcl]\NP)/(S[pt]\NP)
never
(S\NP)\(S\NP)
(S[dcl]\NP)/(S[pt]\NP)
<
1
×
seen
(S[pt]\NP)/NP
Mary
N/N
dance
N
N
>
0
NP
*
.
.
NP
.
S[pt]\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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="Tom" data-from="0" data-to="3" data-cat="N"> <tr><td class="token">Tom</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 binaryrule" data-cat="(S[dcl]\NP)/(S[pt]\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="has" data-from="4" data-to="7" data-cat="(S[dcl]\NP)/(S[pt]\NP)"> <tr><td class="token">has</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/(S[pt]\NP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="never" data-from="8" data-to="13" data-cat="(S\NP)\(S\NP)"> <tr><td class="token">never</td></tr> <tr><td class="cat" tabindex="0">(S\NP)\(S\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[pt]\NP)</div> <div class="rule" title="Backward Crossed Composition">< <sup>1</sup><sub>×</sub> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="S[pt]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="seen" data-from="14" data-to="18" data-cat="(S[pt]\NP)/NP"> <tr><td class="token">seen</td></tr> <tr><td class="cat" tabindex="0">(S[pt]\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 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="Mary" data-from="19" data-to="23" data-cat="N/N"> <tr><td class="token">Mary</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="dance" data-from="24" data-to="29" data-cat="N"> <tr><td class="token">dance</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 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="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[pt]\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*{idm11}{Tom}{\catN}{} \& \lexnode*{idm37}{has}{(\catS[dcl]\?\catNP)/(\catS[pt]\?\catNP)}{} \& \lexnode*{idm51}{never}{(\catS\?\catNP)\?(\catS\?\catNP)}{} \& \lexnode*{idm72}{seen}{(\catS[pt]\?\catNP)/\catNP}{} \& \lexnode*{idm97}{Mary}{\catN/\catN}{} \& \lexnode*{idm107}{dance}{\catN}{} \& \lexnode*{idm115}{.}{\cat.}{} \\ }; \unnode*{idm8}{idm11-cat}{*}{\catNP}{} \binnode*{idm26}{idm37-cat}{idm51-cat}{\BXC{1}}{(\catS[dcl]\?\catNP)/(\catS[pt]\?\catNP)}{} \binnode*{idm92}{idm97-cat}{idm107-cat}{\FC{0}}{\catN}{} \unnode*{idm89}{idm92}{*}{\catNP}{} \binnode*{idm84}{idm89}{idm115-cat}{.}{\catNP}{} \binnode*{idm65}{idm72-cat}{idm84}{\FC{0}}{\catS[pt]\?\catNP}{} \binnode*{idm19}{idm26}{idm65}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8}{idm19}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
fra
Tom n'a jamais vu Mary danser.
ita
Tom non ha mai visto Mary ballare.
ita
Tom non ha mai visto Mary danzare.
por
Tom nunca viu Maria dançar.
rus
Том никогда не видел, чтобы Мэри танцевала.
rus
Том никогда не видел Мари танцующей.
rus
Том никогда не видел, как Мэри танцует.
spa
Tom nunca ha visto bailar a Mary.