<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 12 (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";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#002060;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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:"Verdana","sans-serif";
color:#002060'>Hi Claudia,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'>Could you try encoding without the explicit text_id and
text_lang elements in your input file? CQPweb assumes that input files will be
valid XML, and that s-attributes like text_id and text_lang are to be inferred
from the attributes of text. So spelling them out may have caused the problem.The
file  </span>___install_temp_metadata_illum01 <span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:#002060'>should have been created by cwb-s-decode
from the text_id s-attribute, so the fact that it was missing suggests that
this s-attribute is not available.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'>On the more general point about metadata: in this case the “minimalist
metadata” is probably what you want so you are going about it the right way. As
the manual explains “</span><span class=apple-style-span><span
style='font-size:11.5pt;color:black'>The metadata file should be a
tab-delimited database. The first column should be the text id-codes, with a
line for each text. You can then have as many columns of metadata as you need</span></span><span
class=apple-style-span><span style='font-size:13.5pt;color:black'>.</span></span><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#002060'>” If
you haven’t got a table of information like this, then the minimalist-metadata
generates a dummy table for you. “Entering metadata fields” simply means
specifying what the columns in your table of information contain, so is not
relevant if you don’t have such a table.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'>best<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'>Andrew.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#002060'><o:p>&nbsp;</o:p></span></p>

<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:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> cwb-bounces@sslmit.unibo.it
[mailto:cwb-bounces@sslmit.unibo.it] <b>On Behalf Of </b>Claudia Borg<br>
<b>Sent:</b> 20 July 2010 15:32<br>
<b>To:</b> CWB mailing list<br>
<b>Subject:</b> [CWB] CQPweb - managing metadata<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Tahoma","sans-serif";
color:#333399'>Hi all,<br>
<br>
I am trying to install my own corpus though cqpweb - I have a simple vertical
text file in the following structure:<br>
<br>
&lt;text id=&quot;illum01&quot; lang=&quot;Maltese&quot;&gt;<br>
&lt;text_id &quot;illum01&quot;&gt;<br>
&lt;text_lang &quot;Maltese&quot;&gt;<br>
&lt;s&gt;<br>
word1<br>
word2<br>
...<br>
&lt;/s&gt;<br>
&lt;/text_lang&gt;<br>
&lt;/text_id&gt;<br>
&lt;/text&gt;<br>
<br>
there is no annotation (pos, lemma, ect) so its basically like a word list. The
corpus installation process goes well (I used default p-attributes, even if in
reality I only have word attribute - in future I will add pos and lemma but for
the time being I am just trying to get used to cqpweb), but then I need to
install the metadata, and I cannot quite understand what is required here. <br>
<br>
If I try to create a minimalist metadata table without specifying anything in
the manage metatdata page, then I get this error:</span><o:p></o:p></p>

<p>A mySQL query did not run successfully!<o:p></o:p></p>

<p>Error # 2: <br>
File '/home/mlrs/corpora/system/temp/___install_temp_metadata_illum01' not
found (Errcode: 2) <o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<span style='font-family:"Tahoma","sans-serif";color:#333399'>from mysql admin,
I see that the table text_metadata_for_illum01 has been created but it is empty
(no rows).<br>
<br>
If I try to enter some metadata fields (which I cannot clearly understand
what's meant to be here), then I still get the above error. </span><br>
<span style='font-family:"Tahoma","sans-serif";color:#333399'><br>
I cannot seem to find anything specific to this problem in the documentation
(i.e. explaining what metadata should look like, ect.).&nbsp; I am mainly
following:<br>
</span><a
href="http://cwb.svn.sourceforge.net/viewvc/cwb/gui/cqpweb/trunk/doc/CQPweb-installing-corpora.html"
target="_blank">http://cwb.svn.sourceforge.net/viewvc/cwb/gui/cqpweb/trunk/doc/CQPweb-installing-corpora.html</a><br>
<span style='font-family:"Tahoma","sans-serif";color:#333399'><br>
Any pointers would be appreciated.<br>
<br>
Regards <br>
Claudia<br>
<br>
</span><o:p></o:p></p>

</div>

</body>

</html>