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
The
NP/N
capital
N
of
(N\N)/NP
Italy
N
NP
*
N\N
>
0
N
<
0
NP
>
0
is
(S[dcl]\NP)/NP
Rome
N
NP
*
.
.
NP
.
S[dcl]\NP
>
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="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="The" data-from="0" data-to="3" data-cat="NP/N"> <tr><td class="token">The</td></tr> <tr><td class="cat" tabindex="0">NP/N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="capital" data-from="4" data-to="11" data-cat="N"> <tr><td class="token">capital</td></tr> <tr><td class="cat" tabindex="0">N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="N\N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="of" data-from="12" data-to="14" data-cat="(N\N)/NP"> <tr><td class="token">of</td></tr> <tr><td class="cat" tabindex="0">(N\N)/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="Italy" data-from="15" data-to="20" data-cat="N"> <tr><td class="token">Italy</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">N\N</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">N</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">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"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="is" data-from="21" data-to="23" data-cat="(S[dcl]\NP)/NP"> <tr><td class="token">is</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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="Rome" data-from="24" data-to="28" data-cat="N"> <tr><td class="token">Rome</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="." data-from="28" data-to="29" 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> </div>
Use with
der.css
.
\begin{tikzpicture}[ampersand replacement=\&] \matrix [column sep=9pt] at (0, 0) { \lexnode*{idm13}{The}{\catNP/\catN}{} \& \lexnode*{idm28}{capital}{\catN}{} \& \lexnode*{idm43}{of}{(\catN\?\catN)/\catNP}{} \& \lexnode*{idm58}{Italy}{\catN}{} \& \lexnode*{idm73}{is}{(\catS[dcl]\?\catNP)/\catNP}{} \& \lexnode*{idm93}{Rome}{\catN}{} \& \lexnode*{idm101}{.}{\cat.}{} \\ }; \unnode*{idm55}{idm58-cat}{*}{\catNP}{} \binnode*{idm36}{idm43-cat}{idm55}{\FC{0}}{\catN\?\catN}{} \binnode*{idm23}{idm28-cat}{idm36}{\BC{0}}{\catN}{} \binnode*{idm8}{idm13-cat}{idm23}{\FC{0}}{\catNP}{} \unnode*{idm90}{idm93-cat}{*}{\catNP}{} \binnode*{idm85}{idm90}{idm101-cat}{.}{\catNP}{} \binnode*{idm66}{idm73-cat}{idm85}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8}{idm66}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Die Hauptstadt Italiens ist Rom.
deu
Die Hauptstadt von Italien ist Rom.
ell
Η πρωτεύουσα της Ιταλίας είναι η Ρώμη.
fra
La capitale de l'Italie est Rome.
ita
La capitale dell'Italia è Roma.
lat
Caput Italiae est Roma.
nld
De hoofdstad van Italië is Rome.
por
A capital da Itália é Roma.
rus
Столица Италии - Рим.
rus
Столицей Италии является Рим.
spa
La capital de Italia es Roma.
ukr
Столиця Італії - Рим.