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[em]
that
S[em]/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[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="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[em]"> <tr><td class="token">forgot</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/S[em]</td></tr> <tr><td class="span-swiper"> </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="9" data-to="13" 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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="Tom" data-from="14" data-to="17" 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="18" data-to="21" 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="22" data-to="26" 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="27" data-to="34" 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="34" data-to="35" 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}{I}{\catNP}{} \& \lexnode*{idm23}{forgot}{(\catS[dcl]\?\catNP)/\catS[em]}{} \& \lexnode*{idm40}{that}{\catS[em]/\catS[dcl]}{} \& \lexnode*{idm58}{Tom}{\catN}{} \& \lexnode*{idm73}{was}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm95}{your}{\catNP/(\catN/\catPP)}{} \& \lexnode*{idm107}{husband}{\catN/\catPP}{} \& \lexnode*{idm117}{.}{\cat.}{} \\ }; \unnode*{idm55}{idm58-cat}{*}{\catNP}{} \binnode*{idm90}{idm95-cat}{idm107-cat}{\FC{0}}{\catNP}{} \binnode*{idm85}{idm90}{idm117-cat}{.}{\catNP}{} \binnode*{idm66}{idm73-cat}{idm85}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm50}{idm55}{idm66}{\BC{0}}{\catS[dcl]}{} \binnode*{idm35}{idm40-cat}{idm50}{\FC{0}}{\catS[em]}{} \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 Tom was your husband.
nld
Ik was vergeten dat Tom jouw man was.
rus
Я забыл, что Том - твой муж.
rus
Я забыл, что Том - Ваш муж.