If at least I could install the corpus at the cqpweb it would be wonderful,<br /><br />I've
tried but no success, I guess there are some parameters to add....<br /><br />there is a
function called:<br /><br />install_new_corpus<br /><br />and then this at the file
lib/admin-execute.inc.php<br /><br />case 'installCorpus':<br
/> case 'installCorpusIndexed':<br
/>
$_GET['function'] = 'install_new_corpus';<br
/>
/* in this case there is no point sending parameters; */<br
/>
/* the function is better off just getting them from $_get */<br
/>
$_GET['locationAfter'] = 'XX'; //the function itself sets this <br
/>
require('../lib/execute.inc.php');<br
/>
exit();<br /><br />And also a a form to do it: function printquery_installcorpus_indexed()<br
/><br />But I haven't discovered how to fill it from command line...<br /><br /><br
/>Some help?, please?<br /><br /><br /><br /><br />El Dom, 30 de Julio de 2017, 21:51, Hardie,
Andrew escribió:<br /> <!-- begin sanitized html --> <br />
<div class="bodyclass"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">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.</span>
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">
</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">
</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">
</span></p>
<p class="MsoNormal"><strong><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></strong><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">
"Andrés Chandía" [mailto:andres@chandia.net]<br /> <br />
<strong>Sent:</strong> 30 July 2017 18:35<br /> <strong>To:</strong> Hardie, Andrew<br />
<strong>Cc:</strong> Open source development of the Corpus WorkBench<br />
<strong>Subject:</strong> RE: [CWB] execute-cli functions</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Mmm, that means it is possible... could you
give me some directions on which way go to try it....<br /> <br /> thanks...<br /> <br /> El
Dom, 30 de Julio de 2017, 16:15, Hardie, Andrew escribió:</p>
<div><br />
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">“The
internalsâ€</span><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"></span><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><br
/> = the way CQPweb works behind the scenes. Some things are simple enough that a single
function call will suffice. Others aren</span><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">’</span><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">t.</span><br
/> </p>
<div><br />
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Installing
a corpus is, unfortunately, one of the things that is too complex to do via the
CLI.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><strong><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></strong><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"><br /> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]<br />
<strong><span style="font-family:"Tahoma","sans-serif"">On Behalf Of
</span></strong>"Andrés
Chandía"<br /> <strong><span
style="font-family:"Tahoma","sans-serif"">Sent:</span></strong> 30 July
2017 00:39<br /> <strong><span
style="font-family:"Tahoma","sans-serif"">To:</span></strong> Open source
development of the Corpus WorkBench<br /> <strong><span
style="font-family:"Tahoma","sans-serif"">Subject:</span></strong> Re:
[CWB] execute-cli functions</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">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:<br /> <br /> someFunction installIndexedCorpus
--name="theName" --desc"theDescription" --reg:"defaultDir"
--css="thisCss.css"<br /> <br /> <br /> So I can have the corpus available at the
web interface without cliking or choosing parameters.<br /> <br /> And hopefully, later do
this:<br /> <br /> someOtherFunction manageMetadata --source="createMetadataFromXml"
--use="fh1,fh2,fh3,fh4..etc" --freqlist="auto"<br /> <br /> <br />
yetAnotheFunction manageXml --handle.classif="theHandle"
--description="theDescription"<br /> <br /> andAnotherFunction manageAnnotation
--handle="theHandle" --description="theDescription"<br /> <br />
andAnotherFunction manageCEQLBindings --prim="primaryAnnotation"
--sec="secondaryAnnotation" --terc="terciaryAnnotation"
--comb"combinedAnnotation"<br /> <br /> andAnotherFunction manageFreqLists
--public="true"<br /> <br /> <br /> and if there are more to manage access to the
corpus for instance, much better...<br /> <br /> well, thats what I would like to be able to
do...<br /> <br /> thanks<br /> <br /> <br /> <br /> El Sab, 29 de Julio de 2017, 20:41,
Hardie, Andrew escribió:</p>
<div><br />
<p class="MsoNormal"> </p>
<div><br />
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">There
isn’t
one
–
sorry. You need knowledge of the internals to use this script safely.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><strong><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></strong><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"><br /> <a href="mailto:cwb-bounces@sslmit.unibo.it" title="Este enlace externo se
abrirá en una nueva ventana" target="_blank">cwb-bounces@sslmit.unibo.it</a> [<a
href="mailto:cwb-bounces@sslmit.unibo.it" title="Este enlace externo se abrirá en una nueva
ventana" target="_blank">mailto:cwb-bounces@sslmit.unibo.it</a>]<br /> <strong><span
style="font-family:"Tahoma","sans-serif"">On Behalf Of
</span></strong>"Andrés
Chandía"<br /> <strong><span
style="font-family:"Tahoma","sans-serif"">Sent:</span></strong> 29 July
2017 18:43<br /> <strong><span
style="font-family:"Tahoma","sans-serif"">To:</span></strong> Open source
development of the Corpus WorkBench<br /> <strong><span
style="font-family:"Tahoma","sans-serif"">Subject:</span></strong> [CWB]
execute-cli functions</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">(sorry I
should have sent here)<br /> <br /> <br /> Where can I get a list and definition of the
functions that this script accepts...<br /> <br /> php execute-cli.php NAME OF FUNCTION ARG1
ARG2 ...<br /> <br /> Thanks....<br /> <br /> _______________________<br />
andrés
chandía<br /> <a
href="http://www.chandia.net" title="Este enlace externo se abrirá en una nueva ventana"
target="_blank"><span style="border:solid windowtext
1.0pt;padding:0cm;text-decoration:none">[IMAGE REMOVED]</span></a><br /> <a
href="http://chandia.net/content/nmt" title="Este enlace externo se abrirá en una nueva
ventana" target="_blank">NMT</a> |<br /> <a href="http://chandia.net/content/dungupeyem"
title="Este enlace externo se abrirá en una nueva ventana" target="_blank"><br />
Dungupeyem</a> | <a href="http://corlexim.cl" title="Este enlace externo se abrirá en una
nueva ventana" target="_blank"><br /> Corlexim</a><br /> <br /> administrador de:<br /> <a
href="http://parles.upf.edu" target="_blank" title="Este enlace externo se abrirá en una nueva
ventana">Parles.upf</a> | <a href="http://amindterapia.com" target="_blank" title="Este enlace
externo se abrirá en una nueva ventana"><br /> Amind terapia</a> | <a
href="http://koyaktumapuche.net" target="_blank" title="Este enlace externo se abrirá en una
nueva ventana">ONG Mapuche koyaktu</a> |<br /> <a href="http://parles.upf.edu/llocs/nocando"
target="_blank" title="Este enlace externo se abrirá en una nueva ventana">Nocando</a> | <a
href="https://iac.upf.edu" target="_blank" title="Este enlace externo se abrirá en una nueva
ventana"><br /> IAC</a> | <a href="https://iac.upf.edu/cddz" target="_blank" title="Este
enlace externo se abrirá en una nueva ventana">CddZ</a> | <a href="https://catcg.upf.edu"
target="_blank" title="Este enlace externo se abrirá en una nueva ventana"><br /> CatCg</a>
|<br /> mail: <a href="http://mail.corporacionkoyaktu.net" target="_blank" title="Este enlace
externo se abrirá en una nueva ventana">ONG Mapuche koyaktu</a> | <a
href="http://mail.psicoaching.net" target="_blank" title="Este enlace externo se abrirá en una
nueva ventana"><br /> Psicoaching</a> |<br /> <span
style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P</span> <span
style="font-size:10.0pt"><br /> No imprima innecesariamente. ¡Cuide el medio
ambiente!</span></p>
</div>
<br /> </div>
<br /> <br /> <!-- end sanitized html --> <br /><br /><br />_______________________<br />
andrés
chandía<br /><a href="http://www.chandia.net" target="_blank"><img
src="http://mail.chandia.net/images/chandia_net.png" alt="chandia.net" border="0" /></a><a
href="https://twitter.com/andreschandia" target="_blank"><img
src="http://mail.chandia.net/images/ico_tw.png" width="20" height="20" alt="" /></a><br /><a
href="http://chandia.net/content/nmt" title="Unificador ortogràfico de mapudungun">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" title="Analizador y generador mofológico de
mapudungun">Dungupeyem</a> | <a href="http://corlexim.cl" title="Corpus lexicográfico de
mapudungun">Corlexim</a><br /><br />administrador de:<br /><a
href="http://parles.upf.edu">Parles.upf</a> | <a href="http://amindterapia.com">Amind
terapia</a> | <a href="http://koyaktumapuche.net">ONG Mapuche koyaktu</a> | <a
href="http://parles.upf.edu/llocs/nocando">Nocando</a> | <a href="https://iac.upf.edu">IAC</a>
| <a href="https://iac.upf.edu/cddz">CddZ</a> | <a href="https://catcg.upf.edu">CatCg</a> |<br
/>mail: <a href="http://mail.corporacionkoyaktu.net">ONG Mapuche koyaktu</a> | <a
href="http://mail.psicoaching.net">Psicoaching</a> |<br /><span style="font-size: 18pt; color:
rgb(79, 98, 40); font-family: Webdings;">P</span> <span style="font-size: 10pt; color: rgb(79,
98, 40);">No imprima innecesariamente. ¡Cuide el medio ambiente!</span>