CQPweb v3.0.7 &copy; 2008-2012                         <br /><br />On Sun, December 29, 2013 02:49, Hardie, Andrew
wrote:<br /> <!-- begin sanitized html -->     <style type="text/css">-></style>
<div class="bodyclass">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Can
you tell me what version of the code you are using?</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><strong><span lang="EN-US"
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></strong><span
lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it] <strong>On Behalf Of
</strong>Andres Chandia<br /> <strong>Sent:</strong> 28 December 2013 17:51<br />
<strong>To:</strong> Open source development of the Corpus WorkBench<br />
<strong>Subject:</strong> Re: [CWB] problem at managing corpus metadata</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">yes, this is what I see in the registry:<br /> <span
class="code">##</span><br /> <span class="code">## s-attributes (structural markup)</span><br
/> <span class="code">##</span><br /> <br /> <span class="code"># <name> ... </name></span><br
/> <span class="code">STRUCTURE name</span><br /> <br /> <span class="code"># <lang> ...
</lang></span><br /> <span class="code">STRUCTURE lang</span><br /> <br /> <span
class="code"># <season> ... </season></span><br /> <span class="code">STRUCTURE
season</span><br /> <br /> <span class="code"># <text id="&quot;..&quot;"> ...
</text></span><br /> <span class="code"># (no recursive embedding allowed)</span><br /> <span
class="code">STRUCTURE text</span><br /> <span class="code">STRUCTURE text_id              #
[annotations]</span><br /> <br /> I didn't know if I should ad the &quot;id&quot; attribute
also....<br /> anyway, I still get:</p>
<table cellpadding="0" border="0" width="100%" style="width:100.0%" class="MsoNormalTable">
    <tbody>
        <tr>
            <td style="padding:.75pt .75pt .75pt .75pt">
            <p align="center" style="text-align:center" class="MsoNormal"><strong>My metadata
is embedded in the XML of my corpus!</strong></p>
            </td>
        </tr>
        <tr>
            <td style="padding:.75pt .75pt .75pt .75pt" colspan="2">
            <p align="center" style="text-align:center" class="MsoNormal"> <br /> No XML
annotations found for this corpus. </p>
            </td>
        </tr>
    </tbody>
</table>
<p class="MsoNormal">thanks<br /> <br /> On Sat, December 28, 2013 18:06, Hardie, Andrew
wrote:</p>
<div>
<p class="MsoNormal">That function reads the list of attributes straight from the registry
file. Can you please check in the registry file that the s-attributes really have been indexed
as per your expectations? </p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks,</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Andrew.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p style="margin-bottom:12.0pt" class="MsoNormal"><br /> <br /> <br /> Andres Chandia
wrote:<br /> <br /> </p>
<div>
<p class="MsoNormal">Ok, I managed using A, but for B this is what I get :</p>
<table cellpadding="0" border="0" width="100%" style="width:100.0%" class="MsoNormalTable">
    <tbody>
        <tr>
            <td style="padding:.75pt .75pt .75pt .75pt">
            <p align="center" style="text-align:center" class="MsoNormal"><strong>My metadata
is embedded in the XML of my corpus!</strong></p>
            </td>
        </tr>
        <tr>
            <td style="padding:.75pt .75pt .75pt .75pt" colspan="2">
            <p align="center" style="text-align:center" class="MsoNormal"><br /> No XML
annotations found for this corpus. </p>
            </td>
        </tr>
    </tbody>
</table>
<p class="MsoNormal"><br /> and I have indexed all the text attibutes as if they were
s-attributes<br /> <br /> <br /> On Sat, December 28, 2013 03:40, Hardie, Andrew wrote:</p>
<div>
<div>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi
Andres,</span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">What
you are doing wrong, it would seem, is re-using the source data file as the input file for the
 metadata. This is not how it works.</span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">There
are two ways to add metadata:</span></p>
<p style="text-indent:-18.0pt" class="MsoListParagraph"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">A.</span><span
style="font-size:7.0pt;color:#1F497D"> </span><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">From
a tab-delimited table file, with one text per line, and fields in columns. <em><span
style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">This is the function you are
using, and it is resulting in an error message because you are feeding back in the original
vertical file, which is not in the expected format</span></em>.</span></p>
<p style="text-indent:-18.0pt" class="MsoListParagraph"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">B.</span><span
style="font-size:7.0pt;color:#1F497D"> </span><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">From
XML in the original data. <em><span
style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">This is what you want to
do</span></em>, but in order to do it you need to (a) have indexed all the attributes on the
text element as s-attributes, (b) use the function labelled &ldquo;Create metadata table from 
corpus XML annotations&rdquo; &ndash; accessed via the button low down on the screen labelled
&ldquo;My metadata is embedded in the XML of my corpus!&rdquo; &ndash; instead of the standard
function. </span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Hope
that clarifies.</span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><strong><span
lang="EN-US"
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></strong><span
lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> 
Andres Chandia [mailto:andres@chandia.net] <br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Sent:</span></strong> 27
December 2013 14:45<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">To:</span></strong> Hardie,
Andrew<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Cc:</span></strong> Open source
development of the Corpus WorkBench<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Subject:</span></strong> problem
at managing corpus metadata</span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"> </p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal">Hi there, so
long...<br /> <br /> I have indexed a test corpus and now I'm trying to add some metadata to
it but I always got error messages:<br /> <br /> this is what you can find at corpus:<br />
<br /> <s id="1"><br /> <span class="code">Almosnino almosnino NCMS000</span><br /> <span
class="code">, , Fc</span><br /> <span class="code">Moshe moshe NCFS000</span><br /> <span
class="code">. . Fp</span><br /> <span class="code">. . Fp</span><br /> </s><br /> <s
id="2"><br /> <span class="code">Regimiento regimiento NCMS000</span><br /> <span
class="code">de de SPS00</span><br /> <span class="code">la el DA0FS0</span><br /> <span
class="code">vida vida NCFS000</span><br /> <span class="code">. . Fp</span><br /> <span
class="code">. . Fp</span><br /> </s><br /> <s id="3"><br /> <span
class="code">Sal&oacute;nica sal&oacute;nica NCFS000</span><br /> <span class="code">1564 1564
Z</span><br /> <span class="code">Transcription transcription NCFS000</span><br /> <span
class="code">. . Fp</span><br /> <span class="code">. . Fp</span><br /> </s><br /> <br /> <br
/> I add an image of the settings that I use to install metadata<br /> <br /> and this is what
I always got:<br /> <br /> <span class="code">CQPweb encountered an error and could not
continue. The data source you specified for the text metadata contains badly-formatted text ID
codes, as follows: ','; '.'; ''; ''; ''; ''; ''; ' CQPweb v3.0.7 &copy; 2008-2012 Corpus and
tagset help You  are logged in as user [admin] </span><br /> <br /> but as you can see at the
corpus above none of the metadatas contains what the error message says....<br /> <br /> well,
I don't know what I'm doing wrong, thanks in advance for your help....<br /> <br />
_______________________<br /> andr&eacute;s chand&iacute;a<br /> <a target="_blank"
title="This external link will open in a new window" href="http://www.chandia.net"><span
style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none">[IMAGE
REMOVED]</span></a><br /> administrador de<br /> <a target="_blank" title="This external link
will open in a new window" href="http://parles.upf.edu">parles.upf.edu</a><br /> <a
target="_blank" title="This external link will open in a new window"
href="http://psicoaching.net">psicoaching.net</a><br /> <a target="_blank" title="This
external link will open in a new window" href="http://koyaktumapuche.net">mapuche
koyaktu</a><br /> <a target="_blank" title="This external link will open in a new window"
href="http://corporacionkoyaktu.net">ong mapuche koyaktu</a><br /> <span
style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span
style="font-size:10.0pt;color:#4F6228">No imprima innecesariamente. &iexcl;Cuide el medio
ambiente!</span></p>
</div>
</div>
<p class="MsoNormal"><br /> <br /> <br /> _______________________<br /> andr&eacute;s
chand&iacute;a<br /> <a target="_blank" title="This external link will open in a new window"
href="http://www.chandia.net"><span style="border:solid windowtext
1.0pt;padding:0cm;text-decoration:none">[IMAGE REMOVED]</span></a><br /> administrador de<br /> <a title="This external link will
open in a new window" target="_blank" href="http://parles.upf.edu">parles.upf.edu</a><br /> <a
title="This external link will open in a new window" target="_blank"
href="http://psicoaching.net">psicoaching.net</a><br /> <a title="This external link will open
in a new window" target="_blank" href="http://koyaktumapuche.net">mapuche koyaktu</a><br /> <a
title="This external link will open in a new window" target="_blank"
href="http://corporacionkoyaktu.net">ong mapuche koyaktu</a><br /> <span
style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P </span><span
style="font-size:10.0pt;color:#4F6228">No imprima innecesariamente. &iexcl;Cuide el medio
ambiente!</span></p>
</div>
</div>
<!-- end sanitized html --> <br /><br /><br />_______________________<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;andr&eacute;s
chand&iacute;a<br /><a target="_blank" href="http://www.chandia.net"><img border="0"
alt="chandia.net" src="http://www.chandia.net/sites/default/files/images/chandia.netd.png"
/></a><a target="_blank" href="https://twitter.com/andreschandia"><img
src="http://www.upf.edu/universitat/_img/ico_tw.png" alt="" /></a><br />administrador de<br
/><a href="http://parles.upf.edu">parles.upf.edu</a><br /><a
href="http://psicoaching.net">psicoaching.net</a><br /><a
href="http://koyaktumapuche.net">mapuche koyaktu</a><br /><a
href="http://corporacionkoyaktu.net">ong mapuche koyaktu</a><br /><span style="font-size:
18pt; color: rgb(79, 98, 40); font-family: Webdings;">P </span><span style="font-size: 10pt;
color: rgb(79, 98, 40);">No imprima innecesariamente. &iexcl;Cuide el medio ambiente!</span>