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
Is
(S[q]/NP)/NP
that
NP
S[q]/NP
>
0
correct
S[adj]\NP
N/N
*
,
,
N/N
.
ma'am
N
N
>
0
NP
*
?
.
NP
.
S[q]
>
0
<div class="der"> <table class="constituent binaryrule" data-cat="S[q]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="S[q]/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="Is" data-from="0" data-to="2" data-cat="(S[q]/NP)/NP"> <tr><td class="token">Is</td></tr> <tr><td class="cat" tabindex="0">(S[q]/NP)/NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="that" data-from="3" data-to="7" data-cat="NP"> <tr><td class="token">that</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[q]/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="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 binaryrule" data-cat="N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="N/N"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent unaryrule" data-cat="N/N"> <tr class="daughters"><td class="daughter daughter-only"><table class="constituent lex" data-token="correct" data-from="8" data-to="15" data-cat="S[adj]\NP"> <tr><td class="token">correct</td></tr> <tr><td class="cat" tabindex="0">S[adj]\NP</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td></tr> <tr><td class="rulecat"><div class="rulecat"> <div class="cat">N/N</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="15" data-to="16" 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">N/N</div> <div class="rule" title="Remove Punctuation">.</div> </div></td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="ma'am" data-from="17" data-to="22" data-cat="N"> <tr><td class="token">ma'am</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">N</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">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="22" data-to="23" 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[q]</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*{idm15}{Is}{(\catS[q]/\catNP)/\catNP}{} \& \lexnode*{idm27}{that}{\catNP}{} \& \lexnode*{idm60}{correct}{\catS[adj]\?\catNP}{} \& \lexnode*{idm70}{,}{\cat,}{} \& \lexnode*{idm78}{ma'am}{\catN}{} \& \lexnode*{idm86}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm15-cat}{idm27-cat}{\FC{0}}{\catS[q]/\catNP}{} \unnode*{idm55}{idm60-cat}{*}{\catN/\catN}{} \binnode*{idm48}{idm55}{idm70-cat}{.}{\catN/\catN}{} \binnode*{idm43}{idm48}{idm78-cat}{\FC{0}}{\catN}{} \unnode*{idm40}{idm43}{*}{\catNP}{} \binnode*{idm35}{idm40}{idm86-cat}{.}{\catNP}{} \binnode*{idm3}{idm8}{idm35}{\FC{0}}{\catS[q]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
fra
Est-ce que c'est correct, madame ?
nld
Klopt dat, mevrouw?