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
forgot
(S[dcl]\NP)/S[dcl]
Tom
N
NP
*
was
(S[dcl]\NP)/NP
your
NP/(N/PP)
husband
N/PP
NP
>
0
.
.
NP
.
S[dcl]\NP
>
0
S[dcl]
<
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="forgot" data-from="2" data-to="8" data-cat="(S[dcl]\NP)/S[dcl]"> <tr><td class="token">forgot</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="Tom" data-from="9" data-to="12" 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 lex" data-token="was" data-from="13" data-to="16" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">was</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="your" data-from="17" data-to="21" data-cat="NP/(N/PP)"> <tr><td class="token">your</td></tr> <tr><td class="cat" tabindex="0">NP/(N/PP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="husband" data-from="22" data-to="29" data-cat="N/PP"> <tr><td class="token">husband</td></tr> <tr><td class="cat" tabindex="0">N/PP</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> <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[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}{forgot}{(\catS[dcl]\?\catNP)/\catS[dcl]}{} \& \lexnode*{idm43}{Tom}{\catN}{} \& \lexnode*{idm58}{was}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm80}{your}{\catNP/(\catN/\catPP)}{} \& \lexnode*{idm92}{husband}{\catN/\catPP}{} \& \lexnode*{idm102}{.}{\cat.}{} \\ }; \unnode*{idm40}{idm43-cat}{*}{\catNP}{} \binnode*{idm75}{idm80-cat}{idm92-cat}{\FC{0}}{\catNP}{} \binnode*{idm70}{idm75}{idm102-cat}{.}{\catNP}{} \binnode*{idm51}{idm58-cat}{idm70}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm35}{idm40}{idm51}{\BC{0}}{\catS[dcl]}{} \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
eng
I forgot that Tom was your husband.
nld
Ik was vergeten dat Tom jouw man was.
rus
Я забыл, что Том - твой муж.
rus
Я забыл, что Том - Ваш муж.