<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-GB;}
p.gmail-msonormal, li.gmail-msonormal, div.gmail-msonormal
        {mso-style-name:gmail-msonormal;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.gmail-
        {mso-style-name:gmail-;}
span.gmail-apple-tab-span
        {mso-style-name:gmail-apple-tab-span;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Scott &amp; anyone else interested,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">The bug here was the use of “text” as a sub-text XML element. “text” is special and has to be treated as such, otherwise things go wrong.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">What was going wrong in this case was that the query form was requesting a restriction on text, but as a sub-text XML element, not using the actual text-metadata
 backend. The system tried to fulfil the request using the text-metadata backend, but couldn’t because it wasn’t set up. Result: big honking crash.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">I have just now committed to the repo a fix that stops the restriction block from showing text as a sub-text XML element. This means that what was previously
 a non-obviously incorrect way of doing things will simply no longer work. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">The
<i>correct</i> way in this case is to generate&nbsp; a text-metadata table from the data stored in the “text_*” XML attributes, using the variant of the install-text-metadata table accessed via the “” button.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cwb-bounces@liste.sslmit.unibo.it [mailto:cwb-bounces@liste.sslmit.unibo.it]
<b>On Behalf Of </b>Hardie, Andrew<br>
<b>Sent:</b> 28 July 2016 16:25<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] WebInABox: Can't import existing corpora from host<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Scott,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">This is a bug. It arises, as best as I can tell, from confusion between&nbsp; a text-level restriction, and a restriction on the &lt;text&gt; XML object (equivalent, but
 distinct due to the fact that text metadata exists separately from the XML metadata from which it derives, which in turn is a consequence of the special status of “text” as an entitity in CQPweb). Can you send me (off list) screenshots of the search form with
 the tickboxes you selected that led to this error? I will then investigate.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:cwb-bounces@liste.sslmit.unibo.it">cwb-bounces@liste.sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@liste.sslmit.unibo.it">mailto:cwb-bounces@liste.sslmit.unibo.it</a>]
<b>On Behalf Of </b>Scott Sadowsky<br>
<b>Sent:</b> 26 July 2016 17:53<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Cc:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] WebInABox: Can't import existing corpora from host<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">On Tue, Jul 26, 2016 at 12:18 PM, Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt; wrote:<o:p></o:p></p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="gmail-msonormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&gt;&gt;&gt;</span> But how do I restrict searches using the s-attributes (say, speaker sex)? When I do a query and then select &quot;Distribution&quot;, for example, I'm
 told that &quot;This corpus has no text-classification metadata, so the distribution cannot be shown&quot;.<span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D">·</span><span style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Go to Restricted query</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D">·</span><span style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">You should see options to restrict your query to XML segments where the given attribute has a particular category handle for any s-att that you set to datatype “Classifcation”</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal">Thanks. That makes sense.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">When I run one of these queries, though, CQPweb throws an SQL error (pasted below).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p><span style="font-size:10.0pt;font-family:Symbol;color:#1F497D">·</span><span style="font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">OR, go to “Create / edit subcorpora” and define subcorpora using the same control, then use those SCs as restriction criteria.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal">This also throws an error (also pasted below).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<p class="gmail-msonormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;Note that non-text-based corpus restrictions and subcorpora aren’t currently supported in the Distribution display. I know this is a pain, and it’s high
 on my feature list. (but quite a big job so can’t be done quickly!)&nbsp;</span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal">I can only imagine!&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks again,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Scott<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">===== ERROR 1 =====</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">CQPweb encountered an error and could not continue.</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">A MySQL query did not run successfully!</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">Original query: SELECT count(*), sum(words) FROM text_metadata_for_test_coscach WHERE /* from User: user | Function: do_append_mysql_comment() | 2016-Jul-26 16:42:47 */</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">Error # 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">PHP debugging backtrace</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">array(7) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [1]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(4) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(40) &quot;/var/www/html/cqpweb/lib/library.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(282)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(20) &quot;exiterror_mysqlquery&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(3) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;int(1064)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [1]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(146) &quot;You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [2]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(156) &quot;SELECT count(*), sum(words) FROM text_metadata_for_test_coscach WHERE &nbsp;&nbsp;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span class="gmail-apple-tab-span"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">/* from User: user | Function: do_append_mysql_comment() | 2016-Jul-26 16:42:47 */&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [2]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(4) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(42) &quot;/var/www/html/cqpweb/lib/subcorpus.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(1556)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(14) &quot;do_mysql_query&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(71) &quot;SELECT count(*), sum(words) FROM text_metadata_for_test_coscach WHERE &nbsp;&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [3]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(7) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(42) &quot;/var/www/html/cqpweb/lib/subcorpus.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(1214)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(15) &quot;initialise_size&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;class&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(11) &quot;Restriction&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;object&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; object(Restriction)#14 (15) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;serialised&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(26) &quot;$^text|location~concepcion&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;parsed_conditions&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; [&quot;text&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string(19) &quot;location~concepcion&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;stored_text_metadata_where&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;stored_idlink_where&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;cpos_collection&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;corpus&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(12) &quot;test_coscach&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;item_type&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(4) &quot;text&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;n_items&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;n_tokens&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;freqtable_record&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;hasrun_initialise_text_metadata_where&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;hasrun_initialise_idlink_where&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;hasrun_initialise_cpos_collection&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;hasrun_initialise_size&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;needs_to_be_added_to_cache&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;type&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(2) &quot;-&gt;&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(0) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [4]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(6) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(42) &quot;/var/www/html/cqpweb/lib/subcorpus.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(670)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(12) &quot;new_from_url&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;class&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(11) &quot;Restriction&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;type&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(2) &quot;::&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(2) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(85) &quot;theData=gente&amp;qmode=sq_nocase&amp;pp=50&amp;del=begin&amp;t=text|location~concepcion&amp;del=end&amp;uT=y&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [1]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;bool(true)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [5]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(7) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(42) &quot;/var/www/html/cqpweb/lib/subcorpus.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(589)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(14) &quot;parse_from_url&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;class&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(10) &quot;QueryScope&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;object&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; object(QueryScope)#15 (4) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;type&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; int(0)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;restriction&quot;:&quot;QueryScope&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;subcorpus&quot;:&quot;QueryScope&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;serialised&quot;:&quot;QueryScope&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(0) &quot;&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;type&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(2) &quot;-&gt;&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(2) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(89) &quot;theData=gente&amp;qmode=sq_nocase&amp;pp=50&amp;del=begin&amp;t=text%7Clocation%7Econcepcion&amp;del=end&amp;uT=y&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [1]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;bool(true)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [6]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(6) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(44) &quot;/var/www/html/cqpweb/lib/concordance.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(156)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(12) &quot;new_from_url&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;class&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(10) &quot;QueryScope&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;type&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(2) &quot;::&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(2) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(89) &quot;theData=gente&amp;qmode=sq_nocase&amp;pp=50&amp;del=begin&amp;t=text%7Clocation%7Econcepcion&amp;del=end&amp;uT=y&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [1]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;bool(true)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [7]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(4) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(40) &quot;/var/www/html/cqpweb/exe/concordance.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(1)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(44) &quot;/var/www/html/cqpweb/lib/concordance.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(7) &quot;require&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">}</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;">===== ERROR 2 =====</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">CQPweb encountered an error and could not continue.</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">A MySQL query did not run successfully!</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">Original query: SELECT count(*), sum(words) FROM text_metadata_for_test_coscach WHERE /* from User: user | Function: do_append_mysql_comment() | 2016-Jul-26 16:49:17 */</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">Error # 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">PHP debugging backtrace</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">array(5) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [1]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(4) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(40) &quot;/var/www/html/cqpweb/lib/library.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(282)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(20) &quot;exiterror_mysqlquery&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(3) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;int(1064)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [1]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(146) &quot;You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [2]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(156) &quot;SELECT count(*), sum(words) FROM text_metadata_for_test_coscach WHERE &nbsp;&nbsp;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span class="gmail-apple-tab-span"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">/* from User: user | Function: do_append_mysql_comment() | 2016-Jul-26 16:49:17 */&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [2]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(4) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(42) &quot;/var/www/html/cqpweb/lib/subcorpus.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(1556)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(14) &quot;do_mysql_query&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(71) &quot;SELECT count(*), sum(words) FROM text_metadata_for_test_coscach WHERE &nbsp;&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [3]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(7) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(42) &quot;/var/www/html/cqpweb/lib/subcorpus.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(1214)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(15) &quot;initialise_size&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;class&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(11) &quot;Restriction&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;object&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; object(Restriction)#16 (15) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;serialised&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(26) &quot;$^text|location~concepcion&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;parsed_conditions&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; [&quot;text&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string(19) &quot;location~concepcion&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;stored_text_metadata_where&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;stored_idlink_where&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;cpos_collection&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;corpus&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(12) &quot;test_coscach&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;item_type&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(4) &quot;text&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;n_items&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;n_tokens&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;freqtable_record&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; NULL</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;hasrun_initialise_text_metadata_where&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;hasrun_initialise_idlink_where&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;hasrun_initialise_cpos_collection&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;hasrun_initialise_size&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [&quot;needs_to_be_added_to_cache&quot;:&quot;Restriction&quot;:private]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; bool(false)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;type&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(2) &quot;-&gt;&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(0) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [4]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(6) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(48) &quot;/var/www/html/cqpweb/lib/subcorpus-admin.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(128)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(12) &quot;new_from_url&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;class&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(11) &quot;Restriction&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;type&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(2) &quot;::&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; &amp;string(178) &quot;subcorpusNewName=concepcion&amp;action=Create&#43;subcorpus&#43;from&#43;selected&#43;categories&amp;scriptMode=create_from_metadata&amp;thisQ=subcorpus&amp;del=begin&amp;t=text%7Clocation%7Econcepcion&amp;del=end&amp;uT=y&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; [5]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; array(4) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;file&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(44) &quot;/var/www/html/cqpweb/exe/subcorpus-admin.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;line&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; int(1)</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;args&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; array(1) {</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; [0]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; &nbsp; string(48) &quot;/var/www/html/cqpweb/lib/subcorpus-admin.inc.php&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; [&quot;function&quot;]=&gt;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; &nbsp; string(7) &quot;require&quot;</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&nbsp; }</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">}</span><span style="font-family:&quot;Courier New&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="gmail-msonormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:cwb-bounces@liste.sslmit.unibo.it" target="_blank">cwb-bounces@liste.sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@liste.sslmit.unibo.it" target="_blank">cwb-bounces@liste.sslmit.unibo.it</a>]
<b>On Behalf Of </b>Scott Sadowsky<br>
<b>Sent:</b> 26 July 2016 17:12</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Cc:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] WebInABox: Can't import existing corpora from host<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
<div>
<div>
<div>
<p class="gmail-msonormal">On Tue, Jul 26, 2016 at 7:25 AM, Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt; wrote:<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">Hi Andrew,<o:p></o:p></p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<div>
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">I have had a dig, and found the bug (it was a regex glitch parsing the inserted registry file). Update the code to rev 880 and you should find that the system will obediently
 detect your s-attributes. (You will still, naturally, need to go through the first step that IO mentioned, &nbsp;of making sure all data from earlier passes is properly scrubbed.)</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="gmail-msonormal">Eureka - with this new rev CQPweb now imports my XML metadata! Thanks so much for hunting this down and fixing it!<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">I've now done the following:<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">1. I went through the &quot;Manage Corpus XML&quot; page and set descriptions and data types, defining the attributes I want to be able to search on in queries, subqueries, sub-corpora, etc. to &quot;classification&quot; (e.g. speaker sex and location).<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">2. I went through the &quot;Manage Annotation&quot; page and linked the &quot;Annotation setup for CEQL queries&quot; fields to the various annotation data in my corpus.<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">3. On the &quot;Manage frequency lists&quot; page I (re)generated everything (I've attached the metadata table from mysql below).<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">I can now perform queries, and my metadata is recognized. But how do I restrict searches using the s-attributes (say, speaker sex)? When I do a query and then select &quot;Distribution&quot;, for example, I'm told that &quot;This corpus has no text-classification
 metadata, so the distribution cannot be shown&quot;.<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">Thanks!<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">Scott<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">mysql&gt; select * from xml_metadata;</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&#43;----&#43;--------------&#43;-----------------&#43;------------&#43;-----------------------------------&#43;----------&#43;</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| id | corpus &nbsp; &nbsp; &nbsp; | handle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| att_family | description &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | datatype |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&#43;----&#43;--------------&#43;-----------------&#43;------------&#43;-----------------------------------&#43;----------&#43;</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;1 | bncsampler &nbsp; | s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;2 | bncsampler &nbsp; | text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| text &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;3 | bncsampler &nbsp; | text_id &nbsp; &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; | text_id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;3 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;4 | lcmc &nbsp; &nbsp; &nbsp; &nbsp; | s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;5 | lcmc &nbsp; &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| text &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;6 | lcmc &nbsp; &nbsp; &nbsp; &nbsp; | text_id &nbsp; &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; | text_id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;3 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;7 | test_coscach | s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Sentence &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;8 | test_coscach | text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| text &nbsp; &nbsp; &nbsp; | Text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;9 | test_coscach | text_id &nbsp; &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; | Unique Text ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;3 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 10 | test_coscach | text_corpus &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; | Corpus name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;2 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 11 | test_coscach | text_tagger &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; | Corpus tagger &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;2 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 12 | test_coscach | text_language &nbsp; | text &nbsp; &nbsp; &nbsp; | Text language &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;1 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 13 | test_coscach | text_channel &nbsp; &nbsp;| text &nbsp; &nbsp; &nbsp; | Spoken or written? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;2 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 14 | test_coscach | text_instrument | text &nbsp; &nbsp; &nbsp; | Elicitation instrument &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;1 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 15 | test_coscach | text_lingualism | text &nbsp; &nbsp; &nbsp; | Speaker monolingual or bilingual? | &nbsp; &nbsp; &nbsp; &nbsp;1 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">| 16 | test_coscach | text_location &nbsp; | text &nbsp; &nbsp; &nbsp; | Speaker location &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;1 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 17 | test_coscach | text_sex &nbsp; &nbsp; &nbsp; &nbsp;| text &nbsp; &nbsp; &nbsp; | Speaker sex &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;1 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 18 | test_coscach | text_generation | text &nbsp; &nbsp; &nbsp; | Speaker generation &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;1 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| 19 | test_coscach | text_sel &nbsp; &nbsp; &nbsp; &nbsp;| text &nbsp; &nbsp; &nbsp; | Speaker SEL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;1 |</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&#43;----&#43;--------------&#43;-----------------&#43;------------&#43;-----------------------------------&#43;----------&#43;</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">19 rows in set (0.00 sec)</span><o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="gmail-msonormal"><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">mysql&gt;&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="gmail-msonormal">&nbsp;<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<div>
<p>&nbsp;<o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-right-width:initial;border-bottom-width:initial;border-left-width:initial;border-right-color:initial;border-bottom-color:initial;border-left-color:initial">
<p><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Hardie, Andrew
<br>
<b>Sent:</b> 25 July 2016 23:48<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> RE: [CWB] WebInABox: Can't import existing corpora from host</span><o:p></o:p></p>
</div>
</div>
<p>&nbsp;<o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">OK, 2 things:</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">First – the result of the MySQL query shows that none of the XML of your corpus has been detected.</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Second – the other error you report is clearly referring to your earlier index data. The check on text ID validity is done at point of extraction
<i>from</i> the index <i>to </i>CQPweb’s internal data structures. So, it is reading the index and getting bad values. This implies that your earelier index files still exist and are being read by CQPweb.</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">So, the overall picture would seem to be that you have data hanging around from previous incarnations of the corpus, and your reinstallation did not work properly. Your best
 bet might be to make doubly sure everything is wiped from that corpus, then start over again. This will probably not fix all the problems but it
<i>should</i> make the issues that remain clearer.</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:cwb-bounces@liste.sslmit.unibo.it" target="_blank">cwb-bounces@liste.sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@liste.sslmit.unibo.it" target="_blank">cwb-bounces@liste.sslmit.unibo.it</a>]
<b>On Behalf Of </b>Scott Sadowsky<br>
<b>Sent:</b> 25 July 2016 17:15</span><o:p></o:p></p>
<div>
<div>
<p class="gmail-msonormal"><b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Cc:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] WebInABox: Can't import existing corpora from host<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p>&nbsp;<o:p></o:p></p>
<div>
<div>
<div>
<p>On Mon, Jul 25, 2016 at 5:48 AM, Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt; wrote:<o:p></o:p></p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<p>&nbsp;<o:p></o:p></p>
<div>
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Try running</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select * from xml_metadata;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">in the MySQL command line client, and see what you get.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>This is what I get:<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">$ mysql -u root -p cqpweb</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">Enter password:&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">Reading table information for completion of table and column names</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">[...]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">mysql&gt; select * from xml_metadata;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&#43;----&#43;------------&#43;---------&#43;------------&#43;-------------&#43;----------&#43;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| id | corpus &nbsp; &nbsp; | handle &nbsp;| att_family | description | datatype |</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&#43;----&#43;------------&#43;---------&#43;------------&#43;-------------&#43;----------&#43;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;1 | bncsampler | s &nbsp; &nbsp; &nbsp; | s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;2 | bncsampler | text &nbsp; &nbsp;| text &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;3 | bncsampler | text_id | text &nbsp; &nbsp; &nbsp; | text_id &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;3 |</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;4 | lcmc &nbsp; &nbsp; &nbsp; | s &nbsp; &nbsp; &nbsp; | s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;5 | lcmc &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp;| text &nbsp; &nbsp; &nbsp; | text &nbsp; &nbsp; &nbsp; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp;0 |</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">| &nbsp;6 | lcmc &nbsp; &nbsp; &nbsp; | text_id | text &nbsp; &nbsp; &nbsp; | text_id &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp;3 |</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&#43;----&#43;------------&#43;---------&#43;------------&#43;-------------&#43;----------&#43;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">6 rows in set (0.00 sec)</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">mysql&gt;&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>I have noted something anomalous on another front which may be relevant. When I go to the &quot;Manage Metadata&quot; page of the corpus I'm trying to get set up, and hit the &quot;Create minimalist metadata table&quot; button, I get an error which has nothing to do with my
 current corpus:<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">The data source you specified for the text metadata contains badly-formatted text ID codes, as follows: &lt;strong&gt; '&lt;no annotation&gt;'; 'CCN-F2-01_Ca_St.ortografica.txt'; 'CCN-F2-02_D_StB.ortografica.txt';
 'CCN-F2-03_Ca_St.ortografica.txt'; 'CCN-F2-04_Cb_St.ortografica.txt';[...]&lt;/strong&gt; (text ids can only contain unaccented letters, numbers, and underscore).</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>None of these values are present in my current corpus, though they <i>were</i> in an earlier version, However, I removed them from the tagged texts after you explained that these values had to be handles. Here's what my metadata currently looks like:<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&lt;text id=&quot;CCN_F2_27_B&quot; corpus=&quot;coscach&quot; tagger=&quot;freeling_xml&quot; language=&quot;spanish&quot; channel=&quot;oral&quot; instrument=&quot;interview&quot; lingualism=&quot;monolingual&quot; location=&quot;concepcion&quot; sex=&quot;f&quot; generation=&quot;G2&quot; sel=&quot;B&quot;&gt;</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>So values like&nbsp;<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">'CCN-F2-01_Ca_St.ortografica.txt'</span>&nbsp;are not in my corpus any more (and I recompiled it from these files, of course), but they seem to be cached somewhere by CQPweb, and they are
 not getting updated by newer corpora I try to import. (Note that I've used different names, e.g. test_corpus, test_corpus_two, in order to try to get around this, but it hasn't worked).<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>Cheers,<br>
Scott<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<div>
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:cwb-bounces@liste.sslmit.unibo.it" target="_blank">cwb-bounces@liste.sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@liste.sslmit.unibo.it" target="_blank">cwb-bounces@liste.sslmit.unibo.it</a>]
<b>On Behalf Of </b>Scott Sadowsky<br>
<b>Sent:</b> 24 July 2016 17:17<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Cc:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] WebInABox: Can't import existing corpora from host</span><o:p></o:p></p>
<div>
<div>
<p>&nbsp;<o:p></o:p></p>
<div>
<div>
<div>
<p>On Sun, Jul 24, 2016 at 11:29 AM, Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt; wrote:<o:p></o:p></p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<p>&nbsp;<o:p></o:p></p>
<div>
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">First point – your text ID codes won’t work, they need to be
<b>handles</b>, i.e. just ASCII letters, numbers, and underscore – no hyphens/full stops.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>Now corrected!<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<div>
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Second point – the various s-attributes text_corpus , text_tagger etc. need (a) to exist in the registry – did your correction fix this? (b) CQPweb needs to have logged their
 existence – if it’s saying “No XML annotations found” that suggests it hasn’t, which could be a consequence of (a), or could be a bug.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>Unless I'm mistaken about what attributes are what, they are indeed in the registry. I've pasted it at the end of this e-mail, along with a single tagged source text sentence.<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">There was in fact a bug with s-attributes in the registry failing to be detected which I fixed a few months back: I cannot recall if that was before or after the version of the
 code in the VM image. If you want to rule this out, connect the VM’s networking, upgrade CQPweb to the latest version from SVN (don’t forget to do the database upgrade!), and try again: if that fixes it, it was the old bug.</span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>I've been using revision 879 (3.2.20) the whole time, so it shouldn't be the old bug.&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Once CQPweb is aware of your XML attributes you should be able to use them to derive text metadata.&nbsp;</span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>Thanks for your patience!<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>Cheers,<o:p></o:p></p>
</div>
<div>
<p>Scott<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&lt;text id=&quot;CCN_F2_25_Ca&quot; corpus=&quot;test_two&quot; tagger=&quot;freeling_xml&quot; language=&quot;spanish&quot; channel=&quot;oral&quot; instrument=&quot;interview&quot; lingualism=&quot;monolingual&quot; location=&quot;concepcion&quot; sex=&quot;f&quot; generation=&quot;G2&quot; sel=&quot;Ca&quot;&gt;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&lt;s&gt;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">¿&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ¿&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fia&nbsp;&nbsp;&nbsp;&nbsp; Fia&nbsp;&nbsp;&nbsp;&nbsp; punctuation&nbsp;&nbsp;&nbsp;&nbsp; questionmark</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">todavía todavía RG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adverb&nbsp; general</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">está&nbsp;&nbsp;&nbsp; estar&nbsp;&nbsp; VAIP3S0 VAI&nbsp;&nbsp;&nbsp;&nbsp; verb&nbsp;&nbsp;&nbsp; auxiliary</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">grabando&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; grabar&nbsp; VMG0000 VMG&nbsp;&nbsp;&nbsp;&nbsp; verb&nbsp;&nbsp;&nbsp; main</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fit&nbsp;&nbsp;&nbsp;&nbsp; Fit&nbsp;&nbsp;&nbsp;&nbsp; punctuation&nbsp;&nbsp;&nbsp;&nbsp; questionmark</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&lt;/s&gt;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">&lt;/text&gt;</span><o:p></o:p></p>
</div>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">##</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">## registry entry for corpus TEST_TWO</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">##</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># long descriptive name for the corpus</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">NAME &quot;&quot;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># corpus ID (must be lowercase in registry!)</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">ID &nbsp; test_two</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># path to binary data files</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">HOME /var/cqpweb/index/test_two</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># optional info file (displayed by &quot;info;&quot; command in CQP)</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">INFO /var/cqpweb/index/test_two/.info</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># corpus properties provide additional information about the corpus:</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">##:: charset &nbsp;= &quot;utf8&quot; # character encoding of corpus data</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">##:: language = &quot;es&quot; &nbsp; &nbsp; # insert ISO code for language (de, en, fr, ...)</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">##</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">## p-attributes (token annotations)</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">##</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">ATTRIBUTE word</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">ATTRIBUTE lemma</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">ATTRIBUTE tag</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">ATTRIBUTE ctag</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">ATTRIBUTE pos</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">ATTRIBUTE type</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">##</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">## s-attributes (structural markup)</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">##</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># &lt;s&gt; ... &lt;/s&gt;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># (no recursive embedding allowed)</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE s</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># &lt;text id=&quot;..&quot; corpus=&quot;..&quot; tagger=&quot;..&quot; file=&quot;..&quot; language=&quot;..&quot; channel=&quot;..&quot; instrument=&quot;..&quot; lingualism=&quot;..&quot; location=&quot;..&quot; sex=&quot;..&quot; generation=&quot;..&quot; sel=&quot;..&quot;&gt; ... &lt;/text&gt;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># (no recursive embedding allowed)</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_corpus &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_tagger &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_file &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_language &nbsp; &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_channel &nbsp; &nbsp; &nbsp; &nbsp; # [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_instrument &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_lingualism &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">STRUCTURE text_location &nbsp; &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_sex &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_generation &nbsp; &nbsp; &nbsp;# [annotations]</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;">STRUCTURE text_sel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # [annotations]</span><o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"># Yours sincerely, the Encode tool.</span><o:p></o:p></p>
</div>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<div>
<div>
<p><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:cwb-bounces@liste.sslmit.unibo.it" target="_blank">cwb-bounces@liste.sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@liste.sslmit.unibo.it" target="_blank">cwb-bounces@liste.sslmit.unibo.it</a>]
<b>On Behalf Of </b>Scott Sadowsky<br>
<b>Sent:</b> 24 July 2016 15:52<br>
<b>To:</b> CWBdev Mailing List</span><o:p></o:p></p>
<div>
<div>
<p><br>
<b>Subject:</b> [CWB] WebInABox: Can't import existing corpora from host<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p>&nbsp;<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p>On Sun, Jul 24, 2016 at 10:19 AM, Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt; wrote:<o:p></o:p></p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-top-color:initial;border-right-color:initial;border-bottom-color:initial">
<p>&nbsp;<o:p></o:p></p>
<div>
<div>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">CQPweb requires all corpora to have at least one &lt;text&gt; element, and every text element has to have an id i.e. everything within the corpus has to be contained within a sequence
 of one or more</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&lt;text id=”somethinghere”&gt;</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">…</span><o:p></o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&lt;/text&gt;</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>Thanks, Andrew. It turns out the problem was that I had been using the name &quot;id&quot; instead of &quot;text&quot; for the element. Now that I've changed that, I was able to successfully create the corpus in CQPweb.<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>My source files have quite a bit of metadata, which I've encoded as follows:<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p><span style="font-family:&quot;Courier New&quot;">&lt;<span style="color:red">text</span> <span style="color:#38761D">
id</span>=&quot;CCN-F2-02_D_StB.ortografica.txt&quot; <span style="color:#38761D">corpus</span>=&quot;test&quot;
<span style="color:#38761D">tagger</span>=&quot;freeling-xml&quot; <span style="color:#38761D">
language</span>=&quot;spanish&quot; <span style="color:#38761D">location</span>=&quot;concepcion&quot;
<span style="color:#38761D">sex</span>=&quot;f&quot;&gt;</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-family:&quot;Courier New&quot;">...</span><o:p></o:p></p>
</div>
<div>
<p><span style="font-family:&quot;Courier New&quot;">&lt;/text&gt;</span><o:p></o:p></p>
</div>
<p><br>
I'm now at the CQPweb &quot;Design and insert a text-metadata table for the corpus&quot; page, but it tells me that &quot;No XML annotations found for this corpus&quot;. Is there something wrong with how I did the encoding above? I can use all of these XML elements in cqp searches
 directly, but here they aren't recognized.<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
<div>
<p>(I've checked chapter 6 of the manual, to no avail).<o:p></o:p></p>
</div>
<div>
<p>&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@liste.sslmit.unibo.it">CWB@liste.sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>