[CWB] execute-cli functions

Hardie, Andrew a.hardie at lancaster.ac.uk
Sun Jul 30 21:51:44 CEST 2017


Not sure how you get from “too complex to do via the CLI” to “that means it is possible”. But if you are keen to try proving me wrong, start by reading admin-install.inc.php.

best

Andrew.

From: "Andrés Chandía" [mailto:andres at chandia.net]
Sent: 30 July 2017 18:35
To: Hardie, Andrew
Cc: Open source development of the Corpus WorkBench
Subject: RE: [CWB] execute-cli functions

Mmm, that means it is possible... could you give me some directions on which way go to try it....

thanks...

El Dom, 30 de Julio de 2017, 16:15, Hardie, Andrew escribió:
“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
[Image removed by sender. chandia.net]<http://www.chandia.net>[Image removed by sender.]<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
[Image removed by sender. chandia.net]<http://www.chandia.net>[Image removed by sender.]<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
[Image removed by sender. chandia.net]<http://www.chandia.net>[Image removed by sender.]<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/d0fc4709/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170730/d0fc4709/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 338 bytes
Desc: image001.jpg
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170730/d0fc4709/attachment-0003.jpg>


More information about the CWB mailing list