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
his
NP/(N/PP)
address
N/PP
NP
>
0
,
,
NP
.
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
him
NP
PP
>
0
S[b]\NP
>
0
S[dcl]\NP
>
0
S[dcl]
<
0
S[dcl]
>
0
.
.
S[dcl]
.
<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[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 binaryrule" data-cat="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="his" data-from="10" data-to="13" data-cat="NP/(N/PP)"> <tr><td class="token">his</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="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> </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="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">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/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 lex" data-token="him" data-from="40" data-to="43" data-cat="NP"> <tr><td class="token">him</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">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></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">S[dcl]</div> <div class="rule" title="Remove Punctuation">.</div> </div></td></tr> </table> </div>
Use with
der.css
.
\begin{tikzpicture}[ampersand replacement=\&] \matrix [column sep=9pt] at (0, 0) { \lexnode*{idm20}{If}{(\catS/\catS)/\catS[dcl]}{} \& \lexnode*{idm37}{I}{\catNP}{} \& \lexnode*{idm52}{knew}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm74}{his}{\catNP/(\catN/\catPP)}{} \& \lexnode*{idm86}{address}{\catN/\catPP}{} \& \lexnode*{idm96}{,}{\cat,}{} \& \lexnode*{idm109}{I}{\catNP}{} \& \lexnode*{idm124}{would}{(\catS[dcl]\?\catNP)/(\catS[b]\?\catNP)}{} \& \lexnode*{idm145}{write}{(\catS[b]\?\catNP)/\catPP}{} \& \lexnode*{idm162}{to}{\catPP/\catNP}{} \& \lexnode*{idm172}{him}{\catNP}{} \& \lexnode*{idm180}{.}{\cat.}{} \\ }; \binnode*{idm69}{idm74-cat}{idm86-cat}{\FC{0}}{\catNP}{} \binnode*{idm64}{idm69}{idm96-cat}{.}{\catNP}{} \binnode*{idm45}{idm52-cat}{idm64}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm32}{idm37-cat}{idm45}{\BC{0}}{\catS[dcl]}{} \binnode*{idm13}{idm20-cat}{idm32}{\FC{0}}{\catS/\catS}{} \binnode*{idm157}{idm162-cat}{idm172-cat}{\FC{0}}{\catPP}{} \binnode*{idm138}{idm145-cat}{idm157}{\FC{0}}{\catS[b]\?\catNP}{} \binnode*{idm117}{idm124-cat}{idm138}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm104}{idm109-cat}{idm117}{\BC{0}}{\catS[dcl]}{} \binnode*{idm8}{idm13}{idm104}{\FC{0}}{\catS[dcl]}{} \binnode*{idm3}{idm8}{idm180-cat}{.}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Wenn ich seine Adresse wüsste, schriebe ich ihm.
deu
Wenn ich seine Adresse kennen würde, würde ich ihm schreiben.
deu
Ich würde ihm schreiben, wenn ich seine Adresse wüsste.
fra
Si je connaissais son adresse, je lui écrirais.
ita
Se conoscessi il suo indirizzo gli scriverei.
nld
Als ik zijn adres wist, zou ik naar hem schrijven.
nld
Ik zou hem schrijven als ik zijn adres wist.
rus
Если бы я знал его адрес, я бы ему написал.
rus
Если бы я знал его адрес, я бы написал ему.
spa
Yo le escribiré en cuanto sepa su dirección.
spa
Si conociera su dirección, le escribiría.
ukr
Якби я знав його адресу, я би написав йому.