<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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;}
/* 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;}
span.EmailStyle18
        {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="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">You should be able to see a link under “Actions” called [Unregister this alignment] on the “Manage parallel-corpus alignments” screen…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">If not, that may be because it’s to itself. if so it would need to be done by MySQL command. To see a corpus’s alignments / delete
them, respectively:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">select * from alignment_info where corpus_id = N;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">delete from alignment_info where corpus_id = N;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">where “N” is the integer ID of your corpus.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",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:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </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:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> cwb-bounces@sslmit.unibo.it <cwb-bounces@sslmit.unibo.it>
<b>On Behalf Of </b>graham.ranger<br>
<b>Sent:</b> Tuesday, April 30, 2024 12:29 PM<br>
<b>To:</b> Stephanie Evert <stefanML@collocations.de>; CWBdev Mailing List <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> </o:p></p>
<div>
<div>
<p class="MsoNormal">Dear Stéphanie, <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. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Best, <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR">Graham.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></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<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">-------- Message d'origine --------<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">De : Stephanie Evert <</span><a href="mailto:stefanML@collocations.de"><span lang="FR">stefanML@collocations.de</span></a><span lang="FR" style="color:black">>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">Date : 30/04/2024 12:47 (GMT+01:00)
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">À : CWBdev Mailing List <</span><a href="mailto:cwb@sslmit.unibo.it"><span lang="FR">cwb@sslmit.unibo.it</span></a><span lang="FR" style="color:black">>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">Cc : Graham Ranger -- UAPV <</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">>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black">Objet : Re: [CWB] Parallel corpora
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="color:black"><o:p> </o:p></span></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 "ALIGNED same_corpus" line from the registry entry (this makes the alignment invisible for CWB) and delete all files named "same_corpus.*" 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 – in this case, Andrew will have to answer.<br>
<br>
Best,<br>
Stephanie<br>
<br>
<br>
> On 29 Apr 2024, at 17:15, Graham Ranger -- UAPV <<a href="mailto:graham.ranger@univ-avignon.fr">graham.ranger@univ-avignon.fr</a>> wrote:<br>
> <br>
> Hello to all,<br>
> 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 "same_corpus" 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>
> 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>
> Many thanks for any answers.<br>
> Best,<br>
> Graham.<br>
> _______________________________________________<br>
> CWB mailing list<br>
> <a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
> <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>
</div>
</body>
</html>