<div dir="ltr"><div>Ok, If I have some time left I will try my best!</div><div>thanks for your valuable help!</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,255)"><i><span style="font-family:trebuchet ms,sans-serif">... Andrés Chandía</span></i></span><br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Missatge de Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt; del dia dl., 12 de des. 2022 a les 9:59:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg4412707292730375518">





<div lang="EN-GB">
<div class="m_-3001551260217919310WordSection1">
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)">The answer is “yes, but not easily”.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)">You’d need to work out the function calls needed – principally
<i>create_text_metadata_from_xml()</i>  - and then invoke them through a minimal script OR populate a GET array and then invoke the web script.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)">I’d really like to enhance the offline installer to make things like this possible. But with what’s on my plate it’s a low priority.
 Sorry. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)">(BTW If anyone is interested in CQPweb development, then this is somewhere where it would be possible to jump in without fully understanding
 the whole system, get something working, then send me the patch!)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)">best<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)">Andrew.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US">From:</span></b><span style="font-size:11pt;font-family:&quot;Calibri&quot;,sans-serif" lang="EN-US"> <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>&gt;
<b>On Behalf Of </b>Andrés Chandía<br>
<b>Sent:</b> 09 December 2022 10:35<br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
<b>Subject:</b> [CWB] Manage text metadata from the command line<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Hi there, is there a way to manage text metadata from the command line?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">instead of:<u></u><u></u></p>
</div>
<div>
<ol type="1" start="1">
<li class="MsoNormal">
Go to the CQPWeb interface.<u></u><u></u></li><li class="MsoNormal">
Access to the installed corpus.<u></u><u></u></li><li class="MsoNormal">
In the &quot;Admin tools&quot; menu click on &quot;Manage text metadata&quot;<u></u><u></u></li><li class="MsoNormal">
Scroll to the bottom of the page...<u></u><u></u></li><li class="MsoNormal">
Click on &quot;Click here to install metadata from within-corpus XML annotation&quot;<u></u><u></u></li><li class="MsoNormal">
In the new page, press the button &quot;Select text attributes!&quot;<u></u><u></u></li><li class="MsoNormal">
Under the question &quot;Do you want to automatically run frequency-list setup?&quot;<u></u><u></u></li></ol>
<ol type="1" start="7">
<ol type="1" start="1">
<li class="MsoNormal">
Check the option: &quot;Yes please, run this automatically ...&quot;<u></u><u></u></li></ol>
</ol>
<ol type="1" start="8">
<li class="MsoNormal">
And press the button &quot;Create metadata table from XML using the settings above&quot;.<u></u><u></u></li></ol>
</div>
<div>
<p class="MsoNormal">Many thanks, as always!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<div>
<p><b><i><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(200,16,46)">Andrés Chandía</span></i></b><br>
<span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(200,16,46)">Unitat de Traducció i Ciències del Llenguatge<br>
Roc Boronat 138, C. P.: 08018, Barcelona<br>
Tel.: 935 055 722 - </span><a href="mailto:andres.chandia@upf.edu" target="_blank"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif;color:rgb(200,16,46)">mail:andres.chandia@upf.edu</span></a><u></u><u></u></p>
<p><img style="width: 5.552in; height: 0.6979in;" id="m_-3001551260217919310_x0000_i1034" src="https://ci3.googleusercontent.com/mail-sig/AIorK4zAKhuSZYYONehOH6Egh2_V4mICQuuob3WLMMZl3UVy6u14wBNxiYzumFmZd5po8qfd_U_YJYo" alt="https://ci3.googleusercontent.com/mail-sig/AIorK4zAKhuSZYYONehOH6Egh2_V4mICQuuob3WLMMZl3UVy6u14wBNxiYzumFmZd5po8qfd_U_YJYo" width="533" height="67" border="0"><u></u><u></u></p>
<table style="width:100%" width="100%" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:14%;padding:0cm" width="14%">
<p class="MsoNormal"><a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.chandia.net%2F&amp;data=05%7C01%7Chardiea%40live.lancs.ac.uk%7C63914ae71e794845b45508dad9d12ea5%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638061789700668503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=fkdko1%2B%2Bzx2MEwhz6XvHUIiq4lUjKcxZYgxwbTUFMt0%3D&amp;reserved=0" target="_blank"><span style="text-decoration:none"><img style="width: 1.9791in; height: 0.8333in;" id="m_-3001551260217919310_x0000_i1033" src="http://www.chandia.net/sites/default/files/chandia.net__0.png" alt="http://www.chandia.net/sites/default/files/chandia.net__0.png" width="190" height="80" border="0"></span></a><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fchandianet&amp;data=05%7C01%7Chardiea%40live.lancs.ac.uk%7C63914ae71e794845b45508dad9d12ea5%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638061789700668503%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=eyYLAI31%2BnWkRDnWH45RvmUfkT42xH7sXA0XAkdDFRg%3D&amp;reserved=0" target="_blank"><span style="text-decoration:none"><img style="width: 0.2708in; height: 0.2708in;" id="m_-3001551260217919310_x0000_i1032" src="http://www.chandia.net/sites/default/files/ico_tw.png" alt="http://www.chandia.net/sites/default/files/ico_tw.png" width="26" height="26" border="0"></span></a><u></u><u></u></p>
</td>
<td style="padding:1.5pt">
<p class="MsoNormal"><a href="mailto:andres@chandia.net" target="_blank"><span style="font-size:10pt;font-family:&quot;Verdana&quot;,sans-serif">mail:andres@chandia.net</span></a><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<div class="MsoNormal" style="text-align:center" align="center">
<hr style="color:rgb(200,16,46)" width="100%" size="1" noshade align="center">
</div>
<p class="MsoNormal"><img style="width: 3.4583in; height: 0.4479in;" id="m_-3001551260217919310_x0000_i1031" src="https://ci3.googleusercontent.com/mail-sig/AIorK4yTWuuJgoqJ3i-Ir0NHJSpAWwqSbLjzJMBbgf9K5Gx_Y6mX0PQFjwgdrACBE8bL2e72tMi4zAQ" alt="https://ci3.googleusercontent.com/mail-sig/AIorK4yTWuuJgoqJ3i-Ir0NHJSpAWwqSbLjzJMBbgf9K5Gx_Y6mX0PQFjwgdrACBE8bL2e72tMi4zAQ" width="332" height="43" border="0"><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
</div></blockquote></div>