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
Did
(S[q]/(S[b]\NP))/NP
you
NP
S[q]/(S[b]\NP)
>
0
know
(S[b]\NP)/S[dcl]
Tom
N
NP
*
and
conj
John
N
NP
*
NP\NP
∨
NP
<
0
were
(S[dcl]\NP)/NP
Mary
N
NP
*
's
(NP/N)\NP
NP/N
<
0
brothers
N
NP
>
0
?
.
NP
.
S[dcl]\NP
>
0
S[dcl]
<
0
S[b]\NP
>
0
S[q]
>
0
<div class="der"> <table class="constituent binaryrule" data-cat="S[q]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="S[q]/(S[b]\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="Did" data-from="0" data-to="3" data-cat="(S[q]/(S[b]\NP))/NP"> <tr><td class="token">Did</td></tr> <tr><td class="cat" tabindex="0">(S[q]/(S[b]\NP))/NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="you" data-from="4" data-to="7" data-cat="NP"> <tr><td class="token">you</td></tr> <tr><td class="cat" tabindex="0">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[q]/(S[b]\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 binaryrule" data-cat="S[b]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="know" data-from="8" data-to="12" data-cat="(S[b]\NP)/S[dcl]"> <tr><td class="token">know</td></tr> <tr><td class="cat" tabindex="0">(S[b]\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 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="Tom" data-from="13" data-to="16" 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="NP\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="and" data-from="17" data-to="20" data-cat="conj"> <tr><td class="token">and</td></tr> <tr><td class="cat" tabindex="0">conj</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 lex" data-token="John" data-from="21" data-to="25" 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> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">NP\NP</div> <div class="rule" title="Conjunction">∨</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="Backward Application">< <sup>0</sup> </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="were" data-from="26" data-to="30" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">were</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 binaryrule" data-cat="NP/N"> <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="Mary" data-from="31" data-to="35" data-cat="N"> <tr><td class="token">Mary</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="'s" data-from="35" data-to="37" data-cat="(NP/N)\NP"> <tr><td class="token">'s</td></tr> <tr><td class="cat" tabindex="0">(NP/N)\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">NP/N</div> <div class="rule" title="Backward Application">< <sup>0</sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="brothers" data-from="38" data-to="46" data-cat="N"> <tr><td class="token">brothers</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">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="46" data-to="47" 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[b]\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[q]</div> <div class="rule" title="Forward 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*{idm17}{Did}{(\catS[q]/(\catS[b]\?\catNP))/\catNP}{} \& \lexnode*{idm31}{you}{\catNP}{} \& \lexnode*{idm46}{know}{(\catS[b]\?\catNP)/\catS[dcl]}{} \& \lexnode*{idm71}{Tom}{\catN}{} \& \lexnode*{idm86}{and}{\catconj}{} \& \lexnode*{idm97}{John}{\catN}{} \& \lexnode*{idm112}{were}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm144}{Mary}{\catN}{} \& \lexnode*{idm152}{'s}{(\catNP/\catN)\?\catNP}{} \& \lexnode*{idm164}{brothers}{\catN}{} \& \lexnode*{idm172}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm17-cat}{idm31-cat}{\FC{0}}{\catS[q]/(\catS[b]\?\catNP)}{} \unnode*{idm68}{idm71-cat}{*}{\catNP}{} \unnode*{idm94}{idm97-cat}{*}{\catNP}{} \binnode*{idm79}{idm86-cat}{idm94}{\wedge}{\catNP\?\catNP}{} \binnode*{idm63}{idm68}{idm79}{\BC{0}}{\catNP}{} \unnode*{idm141}{idm144-cat}{*}{\catNP}{} \binnode*{idm134}{idm141}{idm152-cat}{\BC{0}}{\catNP/\catN}{} \binnode*{idm129}{idm134}{idm164-cat}{\FC{0}}{\catNP}{} \binnode*{idm124}{idm129}{idm172-cat}{.}{\catNP}{} \binnode*{idm105}{idm112-cat}{idm124}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm58}{idm63}{idm105}{\BC{0}}{\catS[dcl]}{} \binnode*{idm39}{idm46-cat}{idm58}{\FC{0}}{\catS[b]\?\catNP}{} \binnode*{idm3}{idm8}{idm39}{\FC{0}}{\catS[q]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
ita
Lei sapeva che Tom e John erano i fratelli di Mary?
ita
Sapeva che Tom e John erano i fratelli di Mary?
ita
Sapevate che Tom e John erano i fratelli di Mary?
ita
Sapevi che Tom e John erano i fratelli di Mary?
ita
Tu sapevi che Tom e John erano i fratelli di Mary?
ita
Voi sapevate che Tom e John erano i fratelli di Mary?