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
Drop
(S[b]\NP)/NP
me
NP
S[X]/(S[X]\NP)
T
>
a
NP/N
line
N
NP
>
0
(S[X]\NP)\((S[X]\NP)/NP)
T
<
when
((S\NP)\(S\NP))/S[dcl]
you
NP
are
(S[dcl]\NP)/PP
in
PP/NP
trouble
N
NP
*
.
.
NP
.
PP
>
0
S[dcl]\NP
>
0
S[dcl]
<
0
(S\NP)\(S\NP)
>
0
(S[X]\NP)\((S[X]\NP)/NP)
<
1
S[X]\((S[X]\NP)/NP)
>
1
×
S[b]
<
0
<div class="der"> <table class="constituent binaryrule" data-cat="S[b]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="Drop" data-from="0" data-to="4" data-cat="(S[b]\NP)/NP"> <tr><td class="token">Drop</td></tr> <tr><td class="cat" tabindex="0">(S[b]\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[X]\((S[X]\NP)/NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent unaryrule" data-cat="S[X]/(S[X]\NP)"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="me" data-from="5" data-to="7" data-cat="NP"> <tr><td class="token">me</td></tr> <tr><td class="cat" tabindex="0">NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td></tr> <tr><td class="rulecat"><div class="rulecat"> <div class="cat">S[X]/(S[X]\NP)</div> <div class="rule" title="Forward Type Raising"> T <sup>></sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="(S[X]\NP)\((S[X]\NP)/NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent unaryrule" data-cat="(S[X]\NP)\((S[X]\NP)/NP)"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent binaryrule" data-cat="NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="a" data-from="8" data-to="9" data-cat="NP/N"> <tr><td class="token">a</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 lex" data-token="line" data-from="10" data-to="14" data-cat="N"> <tr><td class="token">line</td></tr> <tr><td class="cat" tabindex="0">N</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></tr> <tr><td class="rulecat"><div class="rulecat"> <div class="cat">(S[X]\NP)\((S[X]\NP)/NP)</div> <div class="rule" title="Backward Type Raising"> T <sup><</sup> </div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent binaryrule" data-cat="(S\NP)\(S\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="when" data-from="15" data-to="19" data-cat="((S\NP)\(S\NP))/S[dcl]"> <tr><td class="token">when</td></tr> <tr><td class="cat" tabindex="0">((S\NP)\(S\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]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="you" data-from="20" data-to="23" data-cat="NP"> <tr><td class="token">you</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="are" data-from="24" data-to="27" data-cat="(S[dcl]\NP)/PP"> <tr><td class="token">are</td></tr> <tr><td class="cat" tabindex="0">(S[dcl]\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="in" data-from="28" data-to="30" data-cat="PP/NP"> <tr><td class="token">in</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="trouble" data-from="31" data-to="38" data-cat="N"> <tr><td class="token">trouble</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="38" data-to="39" 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[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\NP)\(S\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[X]\NP)\((S[X]\NP)/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[X]\((S[X]\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[b]</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}{Drop}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm38}{me}{\catNP}{} \& \lexnode*{idm75}{a}{\catNP/\catN}{} \& \lexnode*{idm85}{line}{\catN}{} \& \lexnode*{idm104}{when}{((\catS\?\catNP)\?(\catS\?\catNP))/\catS[dcl]}{} \& \lexnode*{idm125}{you}{\catNP}{} \& \lexnode*{idm140}{are}{(\catS[dcl]\?\catNP)/\catPP}{} \& \lexnode*{idm157}{in}{\catPP/\catNP}{} \& \lexnode*{idm175}{trouble}{\catN}{} \& \lexnode*{idm183}{.}{\cat.}{} \\ }; \unnode*{idm31}{idm38-cat}{\FTR}{\catS[X]/(\catS[X]\?\catNP)}{} \binnode*{idm70}{idm75-cat}{idm85-cat}{\FC{0}}{\catNP}{} \unnode*{idm59}{idm70}{*}{(\catS[X]\?\catNP)\?((\catS[X]\?\catNP)/\catNP)}{} \unnode*{idm172}{idm175-cat}{*}{\catNP}{} \binnode*{idm167}{idm172}{idm183-cat}{.}{\catNP}{} \binnode*{idm152}{idm157-cat}{idm167}{\FC{0}}{\catPP}{} \binnode*{idm133}{idm140-cat}{idm152}{\FC{0}}{\catS[dcl]\?\catNP}{} \binnode*{idm120}{idm125-cat}{idm133}{\BC{0}}{\catS[dcl]}{} \binnode*{idm93}{idm104-cat}{idm120}{\FC{0}}{(\catS\?\catNP)\?(\catS\?\catNP)}{} \binnode*{idm46}{idm59}{idm93}{\BC{1}}{(\catS[X]\?\catNP)\?((\catS[X]\?\catNP)/\catNP)}{} \binnode*{idm20}{idm31}{idm46}{\FXC{1}}{\catS[X]\?((\catS[X]\?\catNP)/\catNP)}{} \binnode*{idm3}{idm8-cat}{idm20}{\BC{0}}{\catS[b]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
fra
Envoie-moi un message quand tu as des problèmes.
rus
Дай знать, если попадешь в беду.
ukr
Дай знати, якщо потрапиш у біду.