<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Then I suggest just starting with &#8220;</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">select
 * from alignment_info</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">&#8221; to find out what is what in your setup.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> cwb-bounces@sslmit.unibo.it &lt;cwb-bounces@sslmit.unibo.it&gt;
<b>On Behalf Of </b>Graham Ranger -- UAPV<br>
<b>Sent:</b> Monday, May 6, 2024 8:29 AM<br>
<b>To:</b> cwb@sslmit.unibo.it<br>
<b>Subject:</b> Re: [CWB] Parallel corpora<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Andrew,<br>
Thanks for your answers.<br>
On the &quot;Manage parallel-corpus alignments&quot; screen, I only have &quot;Target corpus&quot; and &quot;Link&quot; with the action &quot;Switch to target corpus alignments&quot; available to click on.<br>
Re: the MySQL method, I'm using version 3.2.44 which must pre-date the integer ID's, since they do not appear in the &quot;View Corpus Metadata&quot; screen... :/<br>
Many thanks in advance for your help.<br>
Best,<br>
Graham.<o:p></o:p></p>
<div>
<p class="MsoNormal">Le 06/05/2024 à 08:46, Hardie, Andrew a écrit&nbsp;:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">You should be able to see a link under &#8220;Actions&#8221; called [Unregister this alignment] &nbsp;on the &#8220;Manage parallel-corpus alignments&#8221; screen&#8230;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">If not, that may be because it&#8217;s to itself. if so it would need to be done by MySQL command. To see a corpus&#8217;s alignments / delete
 them, respectively:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">select * from alignment_info where corpus_id = N;</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">delete from alignment_info where corpus_id = N;</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">where &#8220;N&#8221; is the integer ID of your corpus.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">best</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Andrew.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">&nbsp;</span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> <a href="mailto:cwb-bounces@sslmit.unibo.it">
&lt;cwb-bounces@sslmit.unibo.it&gt;</a> <b>On Behalf Of </b>graham.ranger<br>
<b>Sent:</b> Tuesday, April 30, 2024 12:29 PM<br>
<b>To:</b> Stephanie Evert <a href="mailto:stefanML@collocations.de">&lt;stefanML@collocations.de&gt;</a>; CWBdev Mailing List
<a href="mailto:cwb@sslmit.unibo.it">&lt;cwb@sslmit.unibo.it&gt;</a><br>
<b>Subject:</b> Re: [CWB] Parallel corpora</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Dear Stéphanie,&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Many thanks for this helpful answer. As I understand it, what you suggest is required in any case, and there may be more needed to remedy the situation in cqpweb too. I'll wait for Andrew's answer before going further then.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Best,&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">Graham.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">&nbsp;</span><o:p></o:p></p>
</div>
<div id="composer_signature">
<div>
<p class="MsoNormal"><span lang="FR" style="font-size:9.0pt;color:#575757">Envoyé depuis mon appareil Galaxy</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="FR">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">-------- Message d'origine --------</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">De : Stephanie Evert &lt;</span><a href="mailto:stefanML@collocations.de"><span lang="FR">stefanML@collocations.de</span></a><span lang="FR" style="color:black">&gt;
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">Date : 30/04/2024 12:47 (GMT+01:00)
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">À : CWBdev Mailing List &lt;</span><a href="mailto:cwb@sslmit.unibo.it"><span lang="FR">cwb@sslmit.unibo.it</span></a><span lang="FR" style="color:black">&gt;
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">Cc : Graham Ranger -- UAPV &lt;</span><a href="mailto:graham.ranger@univ-avignon.fr"><span lang="FR">graham.ranger@univ-avignon.fr</span></a><span lang="FR" style="color:black">&gt;
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">Objet : Re: [CWB] Parallel corpora
</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">&nbsp;</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear Graham,<br>
<br>
removing an alignment from a CWB corpus has to be done manually. Delete the &quot;ALIGNED same_corpus&quot; line from the registry entry (this makes the alignment invisible for CWB) and delete all files named &quot;same_corpus.*&quot; in the data directory of the corpus (just
 to clean up your hard drive).<br>
<br>
But I suspect your question might rather be about whether you can discard the erroneous alignment in CQPweb without starting over &#8211; in this case, Andrew will have to answer.<br>
<br>
Best,<br>
Stephanie<br>
<br>
<br>
&gt; On 29 Apr 2024, at 17:15, Graham Ranger -- UAPV &lt;<a href="mailto:graham.ranger@univ-avignon.fr">graham.ranger@univ-avignon.fr</a>&gt; wrote:<br>
&gt; <br>
&gt; Hello to all,<br>
&gt; I'm wondering, is there a way to un-declare a parallel alignment with cwb-align-encode ? I've carelessly aligned a corpus with itself (I first declared ALIGNED &quot;same_corpus&quot; in the registry entry) and, while I have got the proper alignment functioning since,
 it would be nice to remove this choice of alignment on the results page!<br>
&gt; It's a tiny corpus, and I'm happy to delete everything and start again, if there's a clean way of doing this!<br>
&gt; Many thanks for any answers.<br>
&gt; Best,<br>
&gt; Graham.<br>
&gt; _______________________________________________<br>
&gt; CWB mailing list<br>
&gt; <a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
&gt; <a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>CWB mailing list<o:p></o:p></pre>
<pre><a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><o:p></o:p></pre>
<pre><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>