[CWB] How to add new data to a corpus without re-indexing it
wu liangping
liangpingwu at 126.com
Thu Jul 8 11:15:25 CEST 2021
Hi Andrew,
Thanks for the clarification, then all things seem to make sense.
As monitor/dynamic corpus is becoming more visible, it would be great to find a way to be able to periodically update the data behind CQPweb.
Best,
WU Liangping
At 2021-07-08 16:51:20, "Hardie, Andrew" <a.hardie at lancaster.ac.uk> wrote:
Hi Liangping,
It’s not possible to append text to an existing corpus. The “add data” function allows you to add new attributes (annotation/xml) or new metadata to the existing corpus. IT doesn’t allow you to extend the corpus.
best
Andrew.
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of wu liangping
Sent: 08 July 2021 09:16
To: cwb at sslmit.unibo.it
Subject: [CWB] How to add new data to a corpus without re-indexing it
Dear all,
Has anyon managed to add new data to a corpus without re-indexing it?
In the "Latest news" of a recent 3.2 branch CQPweb installation, it reads that CQPweb has "[c]ompleted the feature that adds new data to a corpus without re-indexing it (this can now be done for p-attributes as well as s-attributes and corpus metadata)" since version 3.2.31. However, a previous discussion back in 2012 in the thread titled "Appending text to an existing corpus" clearly says that we "need to re-index from scratch" if we want to append text to an existing corpus.
Has anyone tried the new feature with success? Or better still, is there any documentation for this new feature?
Thanks for any hints before we decide to dive into the actual code.
Best,
WU Liangping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20210708/9e1b9478/attachment.html>
More information about the CWB
mailing list