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
If
(S/S)/S[dcl]
I
NP
knew
(S[dcl]\NP)/NP
her
NP/(N/PP)
address
N/PP
,
,
N/PP
.
NP
>
0
S[dcl]\NP
>
0
S[dcl]
<
0
S/S
>
0
I
NP
would
(S[dcl]\NP)/(S[b]\NP)
write
(S[b]\NP)/PP
to
PP/NP
her
NP
.
.
NP
.
PP
>
0
S[b]\NP
>
0
S[dcl]\NP
>
0
S[dcl]
<
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 binaryrule" data-cat="S/S"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="If" data-from="0" data-to="2" data-cat="(S/S)/S[dcl]"> <tr><td class="token">If</td></tr> <tr><td class="cat" tabindex="0">(S/S)/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 lex" data-token="I" data-from="3" data-to="4" 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="knew" data-from="5" data-to="9" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">knew</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 lex" data-token="her" data-from="10" data-to="13" data-cat="NP/(N/PP)"> <tr><td class="token">her</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 binaryrule" data-cat="N/PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="address" data-from="14" data-to="21" data-cat="N/PP"> <tr><td class="token">address</td></tr> <tr><td class="cat" tabindex="0">N/PP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="," data-from="21" data-to="22" 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">N/PP</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">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></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">S/S</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[dcl]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="I" data-from="23" data-to="24" 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="would" data-from="25" data-to="30" data-cat="(S[dcl]\NP)/(S[b]\NP)"> <tr><td class="token">would</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/(S[b]\NP)</td></tr> <tr><td class="span-swiper"> </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="write" data-from="31" data-to="36" data-cat="(S[b]\NP)/PP"> <tr><td class="token">write</td></tr> <tr><td class="cat" tabindex="0">(S[b]\NP)/PP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="to" data-from="37" data-to="39" data-cat="PP/NP"> <tr><td class="token">to</td></tr> <tr><td class="cat" tabindex="0">PP/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 lex" data-token="her" data-from="40" data-to="43" data-cat="NP"> <tr><td class="token">her</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 lex" data-token="." data-from="43" data-to="44" 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">PP</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[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[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]</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*{idm15}{If}{(\catS/\catS)/\catS[dcl]}{} \& \lexnode*{idm32}{I}{\catNP}{} \& \lexnode*{idm47}{knew}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm64}{her}{\catNP/(\catN/\catPP)}{} \& \lexnode*{idm83}{address}{\catN/\catPP}{} \& \lexnode*{idm93}{,}{\cat,}{} \& \lexnode*{idm106}{I}{\catNP}{} \& \lexnode*{idm121}{would}{(\catS[dcl]\?\catNP)/(\catS[b]\?\catNP)}{} \& \lexnode*{idm142}{write}{(\catS[b]\?\catNP)/\catPP}{} \& \lexnode*{idm159}{to}{\catPP/\catNP}{} \& \lexnode*{idm174}{her}{\catNP}{} \& \lexnode*{idm182}{.}{\cat.}{} \\ }; \binnode*{idm76}{idm83-cat}{idm93-cat}{.}{\catN/\catPP}{} \binnode*{idm59}{idm64-cat}{idm76}{\FC{0}}{\catNP}{} \binnode*{idm40}{idm47-cat}{idm59}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm27}{idm32-cat}{idm40}{\BC{0}}{\catS[dcl]}{} \binnode*{idm8}{idm15-cat}{idm27}{\FC{0}}{\catS/\catS}{} \binnode*{idm169}{idm174-cat}{idm182-cat}{.}{\catNP}{} \binnode*{idm154}{idm159-cat}{idm169}{\FC{0}}{\catPP}{} \binnode*{idm135}{idm142-cat}{idm154}{\FC{0}}{\catS[b]\?\catNP}{} \binnode*{idm114}{idm121-cat}{idm135}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm101}{idm106-cat}{idm114}{\BC{0}}{\catS[dcl]}{} \binnode*{idm3}{idm8}{idm101}{\FC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Wenn ich ihre Adresse wüsste, würde ich ihr schreiben.
ita
Se conoscessi il suo indirizzo, le scriverei.
por
Se eu soubesse o endereço dela, escreveria para ela.
rus
Если бы я знал её адрес, я бы ей написал.
spa
Si yo supiera su dirección, le escribiría.