[CWB] execute-cli functions

Hardie, Andrew a.hardie at lancaster.ac.uk
Sun Jul 30 16:15:35 CEST 2017


“The internals” = the way CQPweb works behind the scenes. Some things are simple enough that a single function call will suffice. Others aren’t.

Installing a corpus is, unfortunately, one of the things that is too complex to do via the CLI.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of "Andrés Chandía"
Sent: 30 July 2017 00:39
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] execute-cli functions

Ok, what you mean with "the internals" and any way I'm looking for something that let me do the next things from command line:

someFunction installIndexedCorpus --name="theName" --desc"theDescription" --reg:"defaultDir" --css="thisCss.css"

So I can have the corpus available at the web interface without cliking or choosing parameters.

And hopefully, later do this:

someOtherFunction  manageMetadata --source="createMetadataFromXml" --use="fh1,fh2,fh3,fh4..etc" --freqlist="auto"

yetAnotheFunction manageXml --handle.classif="theHandle" --description="theDescription"

andAnotherFunction manageAnnotation --handle="theHandle" --description="theDescription"

andAnotherFunction manageCEQLBindings --prim="primaryAnnotation" --sec="secondaryAnnotation" --terc="terciaryAnnotation" --comb"combinedAnnotation"

andAnotherFunction manageFreqLists --public="true"


and if there are more to manage access to the corpus for instance, much better...

well, thats what I would like to be able to do...

thanks



El Sab, 29 de Julio de 2017, 20:41, Hardie, Andrew escribió:

There isn’t one – sorry. You need knowledge of the internals to use this script safely.
best
Andrew.
From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> [mailto:cwb-bounces at sslmit.unibo.it]
On Behalf Of "Andrés Chandía"
Sent: 29 July 2017 18:43
To: Open source development of the Corpus WorkBench
Subject: [CWB] execute-cli functions
(sorry I should have sent here)


Where can I get a list and definition of the functions that this script accepts...

php execute-cli.php NAME OF FUNCTION ARG1 ARG2 ...

Thanks....

_______________________
andrés chandía
[chandia.net]<http://www.chandia.net>[X]<https://twitter.com/andreschandia>
NMT<http://chandia.net/content/nmt> |

Dungupeyem<http://chandia.net/content/dungupeyem> |
Corlexim<http://corlexim.cl>

administrador de:
Parles.upf<http://parles.upf.edu> |
Amind terapia<http://amindterapia.com> | ONG Mapuche koyaktu<http://koyaktumapuche.net> |
Nocando<http://parles.upf.edu/llocs/nocando> |
IAC<https://iac.upf.edu> | CddZ<https://iac.upf.edu/cddz> |
CatCg<https://catcg.upf.edu> |
mail: ONG Mapuche koyaktu<http://mail.corporacionkoyaktu.net> |
Psicoaching<http://mail.psicoaching.net> |
P
No imprima innecesariamente. ¡Cuide el medio ambiente!






_______________________
            andrés chandía
[chandia.net]<http://www.chandia.net>[http://mail.chandia.net/images/ico_tw.png]<https://twitter.com/andreschandia>
NMT<http://chandia.net/content/nmt> | Dungupeyem<http://chandia.net/content/dungupeyem> | Corlexim<http://corlexim.cl>

administrador de:
Parles.upf<http://parles.upf.edu> | Amind terapia<http://amindterapia.com> | ONG Mapuche koyaktu<http://koyaktumapuche.net> | Nocando<http://parles.upf.edu/llocs/nocando> | IAC<https://iac.upf.edu> | CddZ<https://iac.upf.edu/cddz> | CatCg<https://catcg.upf.edu> |
mail: ONG Mapuche koyaktu<http://mail.corporacionkoyaktu.net> | Psicoaching<http://mail.psicoaching.net> |
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170730/c36d9c42/attachment.html>


More information about the CWB mailing list