[CWB] Adding many classification descriptions in CQPweb for a particular category

Hardie, Andrew a.hardie at lancaster.ac.uk
Sun Nov 29 07:32:21 CET 2020


Hi josé,

In version 3.3 there are “catdesc templates” whwere you can create prespecified collections of handle—description pairs, which you can then apply to multiple corpora.

In version 3.2 you would have to do it by directly updating the MySQL, as you suspect. The table in question is `text_metadata_values` ; the field is `description`.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of José Manuel Martínez Martínez
Sent: 26 November 2020 08:30
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: [CWB] Adding many classification descriptions in CQPweb for a particular category

Hi there,

Is there a way to add many category descriptions for a particular classification to a corpus in CQPweb?

I know that one can edit one by one the descriptions, but for some corpora I have too many categories for a classification. If there's no workaround, I can run a query to update the MySQL table containing this information or have some kind of script to do the task. I'd just need the pointer to the table.

Many thanks in advance!

Cheers,

--
José Manuel Martínez Martínez
https://chozelinek.github.io<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fchozelinek.github.io%2F&data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7Ca17d46d2b12647e8381608d891e59102%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637419762462542140%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=n0zM5HO3wb%2Ftri2Wcm2h7IAErTTUjDRQHn3lqw7iWjc%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20201129/00d6e53b/attachment.html>


More information about the CWB mailing list