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
What
(S[wq]/(S[q]/NP))/N
street
N
S[wq]/(S[q]/NP)
>
0
did
(S[q]/(S[b]\NP))/NP
he
NP
S[q]/(S[b]\NP)
>
0
take
(S[b]\NP)/NP
?
.
(S[b]\NP)/NP
.
S[q]/NP
>
1
S[wq]
>
0
<div class="der"> <table class="constituent binaryrule" data-cat="S[wq]"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="S[wq]/(S[q]/NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="What" data-from="0" data-to="4" data-cat="(S[wq]/(S[q]/NP))/N"> <tr><td class="token">What</td></tr> <tr><td class="cat" tabindex="0">(S[wq]/(S[q]/NP))/N</td></tr> <tr><td class="span-swiper"> </td></tr> </table></td> <td class="daughter daughter-right"><table class="constituent lex" data-token="street" data-from="5" data-to="11" data-cat="N"> <tr><td class="token">street</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">S[wq]/(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="S[q]/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent binaryrule" data-cat="S[q]/(S[b]\NP)"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="did" data-from="12" data-to="15" data-cat="(S[q]/(S[b]\NP))/NP"> <tr><td class="token">did</td></tr> <tr><td class="cat" tabindex="0">(S[q]/(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="he" data-from="16" data-to="18" data-cat="NP"> <tr><td class="token">he</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]/(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)/NP"> <tr class="daughters"> <td class="daughter daughter-left"><table class="constituent lex" data-token="take" data-from="19" data-to="23" data-cat="(S[b]\NP)/NP"> <tr><td class="token">take</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 lex" data-token="?" data-from="23" data-to="24" 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">(S[b]\NP)/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]/NP</div> <div class="rule" title="Forward Composition">> <sup>1</sup> </div> </div></td></tr> </table></td> </tr> <tr><td colspan="2" class="rulecat"><div class="rulecat"> <div class="cat">S[wq]</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*{idm17}{What}{(\catS[wq]/(\catS[q]/\catNP))/\catN}{} \& \lexnode*{idm31}{street}{\catN}{} \& \lexnode*{idm55}{did}{(\catS[q]/(\catS[b]\?\catNP))/\catNP}{} \& \lexnode*{idm69}{he}{\catNP}{} \& \lexnode*{idm86}{take}{(\catS[b]\?\catNP)/\catNP}{} \& \lexnode*{idm98}{?}{\cat.}{} \\ }; \binnode*{idm8}{idm17-cat}{idm31-cat}{\FC{0}}{\catS[wq]/(\catS[q]/\catNP)}{} \binnode*{idm46}{idm55-cat}{idm69-cat}{\FC{0}}{\catS[q]/(\catS[b]\?\catNP)}{} \binnode*{idm77}{idm86-cat}{idm98-cat}{.}{(\catS[b]\?\catNP)/\catNP}{} \binnode*{idm39}{idm46}{idm77}{\FC{1}}{\catS[q]/\catNP}{} \binnode*{idm3}{idm8}{idm39}{\FC{0}}{\catS[wq]}{} \end{tikzpicture}
Use with
ccgsym.sty
and
tikzlibraryccgder.code.tex
.
Translations
fra
Il a pris quelle rue ?
ita
Che strada ha preso?
por
Qual rua ele pegou?
rus
Он по какой улице поехал?
rus
По какой улице он пошёл?
rus
По какой улице он поехал?
rus
Он по какой улице пошёл?