<div dir="ltr">Hey Andrew and all of the community,<div>Thanks for the reply! Your reply is greatly appreciated!</div><div>This is my first time working with a bilingual corpus, so forgive me for my ignorance in advance.</div><div>I&#39;m still a bit confused to what the alignment attribute. The alignment command is &#39;sudo cwb-align-import -r &#39;/var/CQPweb/registry&#39; -p test.algn&#39;</div><div>Output: Use of uninitialized value $12_keys in split at /usr/local/bin/cwb-align-import line 119, &lt;$fn&gt; line3. Alignment TEST-EN =&gt; TEST-CHN has been created with 7 non-empty beads.</div><div>I tried the &#39;show + test.algn&#39;, however it doesn&#39;t seem to work, and the registry file doesn&#39;t seem to give much information in this regard.</div><div>Does it mean the alignment failed? Or I didn&#39;t set a designated alignment attribute?</div><div>Another kind of out of scope question is that assuming everything works out in cqp. Is it possible to upload and present the bilingual part (assume some queried &#39;Taiwan&#39; it should show a English segment containing &#39;Taiwan&#39; and a Chinese segment in the next line) in CQPweb?</div><div>Once again, any help is desperately needed and deeply appriciated!<br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div><br></div><div>Best,</div>Austin Yang (楊承洋)<div>MS in Cognitive Neuroscience, NCU<br><div>BS in Psychology, CYCU</div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 3, 2022 at 5:30 PM Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>





<div lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)">You need to
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:36pt"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)">show +your_alignment_attribute<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)">in CQP<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)">best<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)">Andrew.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>&gt;
<b>On Behalf Of </b>Austin Yang<br>
<b>Sent:</b> 03 October 2022 02:44<br>
<b>To:</b> <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><br>
<b>Subject:</b> [CWB] Bilingual corpus alignment<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Dear all, <u></u><u></u></p>
<div>
<p class="MsoNormal">Recently I&#39;ve encountered a problem using cwb&#39;s alignment encoding function.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">&quot;Problem&quot; might not be the accurate word but, I used a different alignment tool and fitted into cwb&#39;s standard format, and ran the regedit and encode procedure. This created an alx file in the source language index file. The tutorial says
 &quot;This procedure only creates an a-attribute in HOLMES-EN (source corpus), linking it to HOLMES-DE (target corpus).&quot;, but that&#39;s all I can find. I don&#39;t know how to use cqp/cwb to present sentence alignment (i.e. I imagine querying &quot;Sherlock&quot; in the source
 corpus, it will present both the English and Dutch sentence including &quot;Sherlock&quot;). The attachment shows the command and output. I&#39;m not even sure if the alignment is successful or not. Any help or information that sheds some light to this situation will be
 greatly appreciated!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Best,<u></u><u></u></p>
</div>
<p class="MsoNormal">Austin Yang (<span style="font-family:&quot;MS Gothic&quot;">楊承洋</span>)
<u></u><u></u></p>
<div>
<p class="MsoNormal">MS in Cognitive Neuroscience, NCU<u></u><u></u></p>
<div>
<p class="MsoNormal">BS in Psychology, CYCU<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<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>
</div></blockquote></div>