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
We
NP
have
(S[dcl]\NP)/(S[to]\NP)
to
(S[to]\NP)/(S[b]\NP)
buy
((S[b]\NP)/PP)/NP
them
NP
(S[b]\NP)/PP
>
0
from
PP/NP
abroad
N
NP
*
.
.
NP
.
PP
>
0
S[b]\NP
>
0
S[to]\NP
>
0
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 lex" data-token="We" data-from="0" data-to="2" data-cat="NP"> <tr><td class="token">We</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="have" data-from="3" data-to="7" data-cat="(S[dcl]\NP)/(S[to]\NP)"> <tr><td class="token">have</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\NP)/(S[to]\NP)</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="S[to]\NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="to" data-from="8" data-to="10" data-cat="(S[to]\NP)/(S[b]\NP)"> <tr><td class="token">to</td></tr> <tr><td class="cat" tabindex="0">(S[to]\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 binaryrule" data-cat="(S[b]\NP)/PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="buy" data-from="11" data-to="14" data-cat="((S[b]\NP)/PP)/NP"> <tr><td class="token">buy</td></tr> <tr><td class="cat" tabindex="0">((S[b]\NP)/PP)/NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="them" data-from="15" data-to="19" data-cat="NP"> <tr><td class="token">them</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[b]\NP)/PP</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="PP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="from" data-from="20" data-to="24" data-cat="PP/NP"> <tr><td class="token">from</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 unaryrule" data-cat="NP"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="abroad" data-from="25" data-to="31" data-cat="N"> <tr><td class="token">abroad</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="31" data-to="32" 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[to]\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> </div>
Use with
der.css
.
\begin{tikzpicture}[ampersand replacement=\&] \matrix [column sep=9pt] at (0, 0) { \lexnode*{idm8}{We}{\catNP}{} \& \lexnode*{idm23}{have}{(\catS[dcl]\?\catNP)/(\catS[to]\?\catNP)}{} \& \lexnode*{idm44}{to}{(\catS[to]\?\catNP)/(\catS[b]\?\catNP)}{} \& \lexnode*{idm74}{buy}{((\catS[b]\?\catNP)/\catPP)/\catNP}{} \& \lexnode*{idm88}{them}{\catNP}{} \& \lexnode*{idm101}{from}{\catPP/\catNP}{} \& \lexnode*{idm119}{abroad}{\catN}{} \& \lexnode*{idm127}{.}{\cat.}{} \\ }; \binnode*{idm65}{idm74-cat}{idm88-cat}{\FC{0}}{(\catS[b]\?\catNP)/\catPP}{} \unnode*{idm116}{idm119-cat}{*}{\catNP}{} \binnode*{idm111}{idm116}{idm127-cat}{.}{\catNP}{} \binnode*{idm96}{idm101-cat}{idm111}{\FC{0}}{\catPP}{} \binnode*{idm58}{idm65}{idm96}{\FC{0}}{\catS[b]\?\catNP}{} \binnode*{idm37}{idm44-cat}{idm58}{\FC{0}}{\catS[to]\?\catNP}{} \binnode*{idm16}{idm23-cat}{idm37}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm3}{idm8-cat}{idm16}{\BC{0}}{\catS[dcl]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
deu
Wir müssen sie im Ausland kaufen.
fra
Nous devons les acheter à l'étranger.
ita
Noi dobbiamo comprarli all'estero.
ita
Dobbiamo comprarle all'estero.
ita
Noi dobbiamo comprarle all'estero.
ita
Dobbiamo comprarli all'estero.
nld
We moeten deze uit het buitenland aankopen.
spa
Los tenemos que comprar desde el extranjero.
tgl
Kailangan naming bilhin sila buhat sa ibang bansa.
tgl
Kailangan nating bilhin sila mula sa ibang bansa.
ukr
Ми маємо купувати їх за кордоном.