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
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case 'installCorpusIndexed':<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
$_GET['function'] = 'install_new_corpus';<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/* in this case there is no point sending parameters;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/* the function is better off just getting them from $_get */<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
$_GET['locationAfter'] = 'XX'; //the function itself sets this <br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
require('../lib/execute.inc.php');<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
exit();<br /><br />And also a a form to do it: function printquery_installcorpus_indexed()<br
/><br />But I haven't&nbsp; 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&oacute;:<br /> <!-- begin sanitized html --> <br />
<div class="bodyclass"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Not
sure how you get from &acirc;&euro;&oelig;too complex to do via the CLI&acirc;&euro; to
&acirc;&euro;&oelig;that means it is possible&acirc;&euro;. 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:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><strong><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
lang="EN-US">From:</span></strong><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">
&quot;Andr&Atilde;&copy;s Chand&Atilde;&shy;a&quot; [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&Atilde;&sup3;:</p>
<div><br />
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&Atilde;&cent;&acirc;&sbquo;&not;&Aring;&ldquo;The
internals&Atilde;&cent;&acirc;&sbquo;&not;</span><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"></span><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&Atilde;&cent;&acirc;&sbquo;&not;&acirc;&bdquo;&cent;</span><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
lang="EN-US">From:</span></strong><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
lang="EN-US"><br />  cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]<br />
<strong><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">On Behalf Of
</span></strong>&quot;Andr&Atilde;&fnof;&Acirc;&copy;s
Chand&Atilde;&fnof;&Acirc;&shy;a&quot;<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Sent:</span></strong> 30 July
2017 00:39<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">To:</span></strong> Open source
development of the Corpus WorkBench<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">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 &quot;the internals&quot; and any way I'm looking for something that let me do the next
things from command line:<br /> <br /> someFunction installIndexedCorpus
--name=&quot;theName&quot; --desc&quot;theDescription&quot; --reg:&quot;defaultDir&quot;
--css=&quot;thisCss.css&quot;<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=&quot;createMetadataFromXml&quot;
--use=&quot;fh1,fh2,fh3,fh4..etc&quot; --freqlist=&quot;auto&quot;<br /> <br /> <br />
yetAnotheFunction manageXml --handle.classif=&quot;theHandle&quot;
--description=&quot;theDescription&quot;<br /> <br /> andAnotherFunction manageAnnotation
--handle=&quot;theHandle&quot; --description=&quot;theDescription&quot;<br /> <br />
andAnotherFunction manageCEQLBindings --prim=&quot;primaryAnnotation&quot;
--sec=&quot;secondaryAnnotation&quot; --terc=&quot;terciaryAnnotation&quot;
--comb&quot;combinedAnnotation&quot;<br /> <br /> andAnotherFunction manageFreqLists
--public=&quot;true&quot;<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&Atilde;&fnof;&Acirc;&sup3;:</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:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">There
isn&Atilde;&fnof;&Acirc;&cent;&Atilde;&cent;&acirc;&euro;&scaron;&Acirc;&not;&Atilde;&cent;&acirc;&euro;ž&Acirc;&cent;t
one
&Atilde;&fnof;&Acirc;&cent;&Atilde;&cent;&acirc;&euro;&scaron;&Acirc;&not;&Atilde;&cent;&acirc;&sbquo;&not;&Aring;&ldquo;
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:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Verdana&quot;,&quot;sans-serif&quot;;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:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
lang="EN-US">From:</span></strong><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"
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:&quot;Tahoma&quot;,&quot;sans-serif&quot;">On Behalf Of
</span></strong>&quot;Andr&Atilde;&fnof;&AElig;&rsquo;&Atilde;&sbquo;&Acirc;&copy;s
Chand&Atilde;&fnof;&AElig;&rsquo;&Atilde;&sbquo;&Acirc;&shy;a&quot;<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Sent:</span></strong> 29 July
2017 18:43<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">To:</span></strong> Open source
development of the Corpus WorkBench<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">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&Atilde;&fnof;&AElig;&rsquo;&Atilde;&sbquo;&Acirc;&copy;s
chand&Atilde;&fnof;&AElig;&rsquo;&Atilde;&sbquo;&Acirc;&shy;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. &Acirc;&iexcl;Cuide el medio
ambiente!</span></p>
</div>
<br /> </div>
<br /> <br />  <!-- end sanitized html --> <br /><br /><br />_______________________<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;andr&eacute;s
chand&iacute;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. &iexcl;Cuide el medio ambiente!</span>