<div dir="ltr"><div>Dear Stefan</div><div>I just wonder if there is any possibility (in cqp, not CQPweb) of searching by values of structural attributes. <br></div><div>I think to recall there was, but I couldn't find it.<br></div><div>Thank you in advance</div><div>Diana <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Stefan Evert <<a href="mailto:stefanML@collocations.de">stefanML@collocations.de</a>> escreveu no dia terça, 8/12/2020 à(s) 10:41:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> Could you, please, give me some advice. We have a corpus where most of the sentences have translations. It is not a parallel corpus, just translations for particular sentences. What is the best way of integrating those translations into CQPweb? The main purpose is to give users a possibility to see translations for found sentences, maybe as a tooltip or some other way. The possibility of search in translations would be useful, but not mandatory.<br>
<br>
Include them as an attribute on the XML element wrapping sentences, or as an additional s-attribute, e.g.<br>
<br>
<s trans="THIS IS THE TRANSLATION"><br>
word pos<br>
word pos<br>
…<br>
</s><br>
<br>
Then you can enable "s_trans" as "Free translation" attribute in the visualisation settings in CQPweb.<br>
<br>
Best,<br>
Stefan<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
</blockquote></div>