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
Hätte
S[dcl]/S[dcl]
ich
NP
seine
NP/(N/PP)
Anschrift
N/PP
NP
>
0
gewusst
(S[dcl]\NP)/S[dcl]
,
NP\NP
hätte
((S[dcl]\NP)/(S[b]\NP))/NP
ich
NP
(S[dcl]\NP)/(S[b]\NP)
>
0
ihm
NP
geschrieben
(S[b]\NP)\NP
S[b]\NP
<
0
S[dcl]\NP
>
0
S[dcl]\NP
<
1
(S[dcl]\NP)\NP
>
1
×
S[dcl]\NP
<
0
S[dcl]
<
0
.
S[dcl]\S[dcl]
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="Hätte" data-from="0" data-to="5" data-cat="S[dcl]/S[dcl]"> <tr><td class="token">Hätte</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 lex" data-token="ich" data-from="6" data-to="9" data-cat="NP"> <tr><td class="token">ich</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 binaryrule" data-cat="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="seine" data-from="10" data-to="15" data-cat="NP/(N/PP)"> <tr><td class="token">seine</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="Anschrift" data-from="16" data-to="25" data-cat="N/PP"> <tr><td class="token">Anschrift</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 binaryrule" data-cat="(S[dcl]\NP)\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="gewusst" data-from="26" data-to="33" data-cat="(S[dcl]\NP)/S[dcl]"> <tr><td class="token">gewusst</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\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]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="," data-from="33" data-to="34" data-cat="NP\NP"> <tr><td class="token">,</td></tr> <tr><td class="cat" tabindex="0">NP\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 binaryrule" data-cat="(S[dcl]\NP)/(S[b]\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="hätte" data-from="35" data-to="40" data-cat="((S[dcl]\NP)/(S[b]\NP))/NP"> <tr><td class="token">hätte</td></tr> <tr><td class="cat" tabindex="0">((S[dcl]\NP)/(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="ich" data-from="41" data-to="44" data-cat="NP"> <tr><td class="token">ich</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[dcl]\NP)/(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="ihm" data-from="45" data-to="48" data-cat="NP"> <tr><td class="token">ihm</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="geschrieben" data-from="49" data-to="60" data-cat="(S[b]\NP)\NP"> <tr><td class="token">geschrieben</td></tr> <tr><td class="cat" tabindex="0">(S[b]\NP)\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[b]\NP</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]\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="Backward Composition">< <sup>1</sup> </div> </div></td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">(S[dcl]\NP)\NP</div> <div class="rule" title="Forward Crossed Composition">> <sup>1</sup><sub>×</sub> </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="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="Backward Application">< <sup>0</sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="." data-from="60" data-to="61" 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]</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}{Hätte}{\catS[dcl]/\catS[dcl]}{} \& \lexnode*{idm28}{ich}{\catNP}{} \& \lexnode*{idm48}{seine}{\catNP/(\catN/\catPP)}{} \& \lexnode*{idm60}{Anschrift}{\catN/\catPP}{} \& \lexnode*{idm79}{gewusst}{(\catS[dcl]\?\catNP)/\catS[dcl]}{} \& \lexnode*{idm98}{,}{\catNP\?\catNP}{} \& \lexnode*{idm126}{hätte}{((\catS[dcl]\?\catNP)/(\catS[b]\?\catNP))/\catNP}{} \& \lexnode*{idm142}{ich}{\catNP}{} \& \lexnode*{idm157}{ihm}{\catNP}{} \& \lexnode*{idm165}{geschrieben}{(\catS[b]\?\catNP)\?\catNP}{} \& \lexnode*{idm177}{.}{\catS[dcl]\?\catS[dcl]}{} \\ }; \binnode*{idm43}{idm48-cat}{idm60-cat}{\FC{0}}{\catNP}{} \binnode*{idm115}{idm126-cat}{idm142-cat}{\FC{0}}{(\catS[dcl]\?\catNP)/(\catS[b]\?\catNP)}{} \binnode*{idm150}{idm157-cat}{idm165-cat}{\BC{0}}{\catS[b]\?\catNP}{} \binnode*{idm108}{idm115}{idm150}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm91}{idm98-cat}{idm108}{\BC{1}}{\catS[dcl]\?\catNP}{} \binnode*{idm70}{idm79-cat}{idm91}{\FXC{1}}{(\catS[dcl]\?\catNP)\?\catNP}{} \binnode*{idm36}{idm43}{idm70}{\BC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm23}{idm28-cat}{idm36}{\BC{0}}{\catS[dcl]}{} \binnode*{idm18}{idm23}{idm177-cat}{\BC{0}}{\catS[dcl]}{} \binnode*{idm3}{idm8-cat}{idm18}{\FC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
eng
Had I known his address, I would have written to him.
eng
If I had known his address, I would have written to him.
fra
Si j'avais connu son adresse, je lui aurais écrit.
rus
Знай я его адрес, я бы ему написал.
spa
Si hubiera sabido la dirección de él, le hubiera escrito.