[CWB] Adding new texts

Hardie, Andrew a.hardie at lancaster.ac.uk
Thu Dec 4 18:39:39 CET 2014


Yes.

cd bin
php execute-cli.php delete_corpus_from_cqpweb name_of_corpus

Use with caution!

best

Andrew.

From: Andres Chandia [mailto:andres at chandia.net]
Sent: 04 December 2014 17:34
To: Hardie, Andrew
Cc: Open source development of the Corpus WorkBench
Subject: RE: [CWB] Adding new texts

Ok, so it would be possible to call the script that deletes corpus from command line, and in this way be sure all is erased, how?


On Thu, December 4, 2014 18:29, Hardie, Andrew wrote:
Yes, that's what I was getting at, delete and re-index.
However, note that if this was a corpus that existed in CQPweb, there may be leftovers from the previous index still extant in the database. That could cause problems later.
It is better to use the web interface to delete CQPweb corpora for this reason - you can be sure everything that needs to be deleted.
From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Andres Chandia
Sent: 04 December 2014 17:27
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] Adding new texts
I'm not sure if it's the right way but if I delete the /data/mycorpus directory and the /registry/mycorpus* files, the queries work on new added text, I did it this way:

1 add the new text to the bottom of "mycorpus" file
2 delete /data/mycorpus
3 delete /registry/mycorpus*
4 index mycorpus again
5 do queries at cqp


On Thu, December 4, 2014 17:26, Andres Chandia wrote:
Hi there, my questions, is there a way to add new text to an already indexed corpus, a corpus that is already exploitable at the cqp web interface?

Second question, is there a way to make an indexed corpus available for exploitation at the cqp web interface from command line?

_______________________
andrés chandía
[chandia.net]<http://www.chandia.net>[X]<https://twitter.com/andreschandia>
administrador de
parles.upf.edu<http://parles.upf.edu>
psicoaching.net<http://psicoaching.net>
mapuche koyaktu<http://koyaktumapuche.net>
ong mapuche koyaktu<http://corporacionkoyaktu.net>
P No imprima innecesariamente. ¡Cuide el medio ambiente!


_______________________
andrés chandía
[chandia.net]<http://www.chandia.net>[X]<https://twitter.com/andreschandia>
administrador de
parles.upf.edu<http://parles.upf.edu>
psicoaching.net<http://psicoaching.net>
mapuche koyaktu<http://koyaktumapuche.net>
ong mapuche koyaktu<http://corporacionkoyaktu.net>
P No imprima innecesariamente. ¡Cuide el medio ambiente!



_______________________
            andrés chandía
[chandia.net]<http://www.chandia.net>[http://www.upf.edu/universitat/_img/ico_tw.png]<https://twitter.com/andreschandia>
administrador de
parles.upf.edu<http://parles.upf.edu>
psicoaching.net<http://psicoaching.net>
mapuche koyaktu<http://koyaktumapuche.net>
ong mapuche koyaktu<http://corporacionkoyaktu.net>
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20141204/254ff7d0/attachment.html>


More information about the CWB mailing list