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
Si
S[dcl]/S[dcl]
j'
S[pss]\NP
avais
((S[pss]\NP)\(S[pss]\NP))/NP
connu
N
NP
*
(S[pss]\NP)\(S[pss]\NP)
>
0
S[pss]\NP
<
0
S[dcl]/S[dcl]
*
son
S[dcl]/NP
adresse
N
NP
*
S[dcl]
>
0
S[dcl]
>
0
,
(S[dcl]\S[dcl])/S[dcl]
je
S[dcl]\S[dcl]
(S[dcl]\S[dcl])/S[dcl]
<
n
lui
NP
aurais
(S[dcl]\NP)/NP
écrit
N
NP
*
S[dcl]\NP
>
0
S[dcl]
<
0
.
S[dcl]\S[dcl]
S[dcl]
<
0
S[dcl]\S[dcl]
>
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 lex" data-token="Si" data-from="0" data-to="2" data-cat="S[dcl]/S[dcl]"> <tr><td class="token">Si</td></tr> <tr><td class="cat" tabindex="0">S[dcl]/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="S[dcl]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent unaryrule" data-cat="S[dcl]/S[dcl]"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent binaryrule" data-cat="S[pss]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="j'" data-from="3" data-to="5" data-cat="S[pss]\NP"> <tr><td class="token">j'</td></tr> <tr><td class="cat" tabindex="0">S[pss]\NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="(S[pss]\NP)\(S[pss]\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="avais" data-from="5" data-to="10" data-cat="((S[pss]\NP)\(S[pss]\NP))/NP"> <tr><td class="token">avais</td></tr> <tr><td class="cat" tabindex="0">((S[pss]\NP)\(S[pss]\NP))/NP</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="connu" data-from="11" data-to="16" data-cat="N"> <tr><td class="token">connu</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">(S[pss]\NP)\(S[pss]\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[pss]\NP</div> <div class="rule" title="Backward Application">< <sup>0</sup> </div> </div></td></tr> </table></td></tr> <tr><td class="rulecat"><div class="rulecat"> <div class="cat">S[dcl]/S[dcl]</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]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="son" data-from="17" data-to="20" data-cat="S[dcl]/NP"> <tr><td class="token">son</td></tr> <tr><td class="cat" tabindex="0">S[dcl]/NP</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="adresse" data-from="21" data-to="28" data-cat="N"> <tr><td class="token">adresse</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">S[dcl]</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="Forward Application">> <sup>0</sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="S[dcl]\S[dcl]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="(S[dcl]\S[dcl])/S[dcl]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="," data-from="28" data-to="29" data-cat="(S[dcl]\S[dcl])/S[dcl]"> <tr><td class="token">,</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\S[dcl])/S[dcl]</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="je" data-from="30" data-to="32" data-cat="S[dcl]\S[dcl]"> <tr><td class="token">je</td></tr> <tr><td class="cat" tabindex="0">S[dcl]\S[dcl]</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]\S[dcl])/S[dcl]</div> <div class="rule" title="Backward Composition">< <sup><i>n</i></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 binaryrule" data-cat="S[dcl]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="lui" data-from="33" data-to="36" data-cat="NP"> <tr><td class="token">lui</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="aurais" data-from="37" data-to="43" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">aurais</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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="écrit" data-from="44" data-to="49" data-cat="N"> <tr><td class="token">écrit</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">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> <td class="daughter daughter-right"><table class="constituent lex" data-token="." data-from="49" data-to="50" data-cat="S[dcl]\S[dcl]"> <tr><td class="token">.</td></tr> <tr><td class="cat" tabindex="0">S[dcl]\S[dcl]</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="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]\S[dcl]</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*{idm8}{Si}{\catS[dcl]/\catS[dcl]}{} \& \lexnode*{idm40}{j'}{\catS[pss]\?\catNP}{} \& \lexnode*{idm61}{avais}{((\catS[pss]\?\catNP)\?(\catS[pss]\?\catNP))/\catNP}{} \& \lexnode*{idm80}{connu}{\catN}{} \& \lexnode*{idm93}{son}{\catS[dcl]/\catNP}{} \& \lexnode*{idm106}{adresse}{\catN}{} \& \lexnode*{idm130}{,}{(\catS[dcl]\?\catS[dcl])/\catS[dcl]}{} \& \lexnode*{idm142}{je}{\catS[dcl]\?\catS[dcl]}{} \& \lexnode*{idm162}{lui}{\catNP}{} \& \lexnode*{idm177}{aurais}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm192}{écrit}{\catN}{} \& \lexnode*{idm200}{.}{\catS[dcl]\?\catS[dcl]}{} \\ }; \unnode*{idm77}{idm80-cat}{*}{\catNP}{} \binnode*{idm50}{idm61-cat}{idm77}{\FC{0}}{(\catS[pss]\?\catNP)\?(\catS[pss]\?\catNP)}{} \binnode*{idm33}{idm40-cat}{idm50}{\BC{0}}{\catS[pss]\?\catNP}{} \unnode*{idm28}{idm33}{*}{\catS[dcl]/\catS[dcl]}{} \unnode*{idm103}{idm106-cat}{*}{\catNP}{} \binnode*{idm88}{idm93-cat}{idm103}{\FC{0}}{\catS[dcl]}{} \binnode*{idm23}{idm28}{idm88}{\FC{0}}{\catS[dcl]}{} \binnode*{idm121}{idm130-cat}{idm142-cat}{\BC{n}}{(\catS[dcl]\?\catS[dcl])/\catS[dcl]}{} \unnode*{idm189}{idm192-cat}{*}{\catNP}{} \binnode*{idm170}{idm177-cat}{idm189}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm157}{idm162-cat}{idm170}{\BC{0}}{\catS[dcl]}{} \binnode*{idm152}{idm157}{idm200-cat}{\BC{0}}{\catS[dcl]}{} \binnode*{idm114}{idm121}{idm152}{\FC{0}}{\catS[dcl]\?\catS[dcl]}{} \binnode*{idm18}{idm23}{idm114}{\BC{0}}{\catS[dcl]}{} \binnode*{idm3}{idm8-cat}{idm18}{\FC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Hätte ich seine Anschrift gewusst, hätte ich ihm geschrieben.
eng
If I had known her address, I would have written to her.
eng
Had I known his address, I would have written to him.
eng
Had I known her address, I would have written to her.
eng
If I had known his address, I would have written to him.
rus
Если бы я знал её адрес, я бы ей написал.
rus
Если бы я знал его адрес, я бы ему написал.
rus
Знай я её адрес, я бы ей написал.
rus
Знай я его адрес, я бы ему написал.
spa
Si hubiera sabido la dirección de ella, le habría escrito una carta.