[CWB] Parallel corpora

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon May 6 08:46:58 CEST 2024


You should be able to see a link under “Actions” called [Unregister this alignment]  on the “Manage parallel-corpus alignments” screen…

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:

select * from alignment_info where corpus_id = N;

delete from alignment_info where corpus_id = N;

where “N” is the integer ID of your corpus.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of graham.ranger
Sent: Tuesday, April 30, 2024 12:29 PM
To: Stephanie Evert <stefanML at collocations.de>; CWBdev Mailing List <cwb at sslmit.unibo.it>
Subject: Re: [CWB] Parallel corpora

Dear Stéphanie,
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.
Best,
Graham.



Envoyé depuis mon appareil Galaxy


-------- Message d'origine --------
De : Stephanie Evert <stefanML at collocations.de<mailto:stefanML at collocations.de>>
Date : 30/04/2024 12:47 (GMT+01:00)
À : CWBdev Mailing List <cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Cc : Graham Ranger -- UAPV <graham.ranger at univ-avignon.fr<mailto:graham.ranger at univ-avignon.fr>>
Objet : Re: [CWB] Parallel corpora

Dear Graham,

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).

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.

Best,
Stephanie


> On 29 Apr 2024, at 17:15, Graham Ranger -- UAPV <graham.ranger at univ-avignon.fr<mailto:graham.ranger at univ-avignon.fr>> wrote:
>
> Hello to all,
> 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!
> It's a tiny corpus, and I'm happy to delete everything and start again, if there's a clean way of doing this!
> Many thanks for any answers.
> Best,
> Graham.
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20240506/b40aa921/attachment-0001.html>


More information about the CWB mailing list