<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* 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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        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.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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:#1F497D">I’m sorry I don’t understand the questions. Can you rephrase/elaborate.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<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>Andres Chandia<br>
<b>Sent:</b> 04 January 2014 15:31<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] problem at managing corpus metadata<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Some questions then...<br>
<br>
1. if you have to index the metadata as an s-attribute in only one field when you index a corpus, what are the rest of the fields for, how and what for can they be used to?<br>
<br>
2. if you index corpus via command line with cwb would the s-attributes be availabe in the way I intended to index them, the way that you say is not available yet by cqp interface?<br>
<br>
3. at the standard query there is the restriction option, but this one does not get activated when the corpora is indexed, how shoul I proceed at indexing process to activate this?<br>
<br>
Thanks<br>
<br>
<br>
El Mar, 31 de Diciembre de 2013, 20:50, Hardie, Andrew escribió:<o:p></o:p></p>
<div>
<div>
<p class="MsoListParagraph" style="margin-left:36.0pt;text-indent:-18.0pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">1.</span><span style="font-size:7.0pt;color:#1F497D">
</span><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Yes, of course, because metadata works at the text level. So if you index text metadata from something on the
<s>element, then naturally only 1 element per text will actually have any effect. There is a warning in the interface to this effect:</s></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
<s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">The following XML annotations are indexed in the corpus.</span><o:p></o:p></s></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
<s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Select the ones which you wish to use as
<strong><u><span style="font-family:"Verdana","sans-serif"">text-metadata</span></u></strong> fields.</span><o:p></o:p></s></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
<s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Note: you must only select annotations that occur
<strong><span style="font-family:"Verdana","sans-serif"">at or above</span></strong></span><o:p></o:p></s></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt">
<s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">the level of in the XML hierarchy of your corpus</span><o:p></o:p></s></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">What you seem to actually want is to be able to restrict your queries to particular elements depending
on their attributes. CQPweb can’t do this. Queries can only be restricted to particular *<strong><span style="font-family:"Verdana","sans-serif"">texts</span></strong>*, not to sub-parts of texts. XML Restricted Queries is a much-requested feature and one
I hope to be able to implement once the database reorganisation in v3.1 is done. But it can’t be done
<em><span style="font-family:"Verdana","sans-serif"">now</span></em>.</span><o:p></o:p></s></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;text-indent:-18.0pt"><s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">2.</span></s><s><span style="font-size:7.0pt;color:#1F497D">
</span></s><s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Either switch your checkout over from the trunk to the URL of the 3.0 branch, or just manually copy the code available in the download tarball.</span><o:p></o:p></s></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best</span><o:p></o:p></s></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><s><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.</span><o:p></o:p></s></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><strong><s><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></s></strong><s><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
Andres Chandia [<a href="mailto:andres@chandia.net" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">mailto:andres@chandia.net</a>]
<br>
<strong><span style="font-family:"Tahoma","sans-serif"">Sent:</span></strong> 31<br>
December 2013 19:32<br>
<strong><span style="font-family:"Tahoma","sans-serif"">To:</span></strong> Hardie, Andrew<br>
<strong><span style="font-family:"Tahoma","sans-serif"">Cc:</span></strong> Open source development of the Corpus WorkBench<br>
<strong><span style="font-family:"Tahoma","sans-serif"">Subject:</span></strong> RE: [CWB] problem at managing corpus metadata</span><o:p></o:p></s></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><s>Thanks, I turned back to the previous one that I had CQPweb v3.0.7 © 2008-2012 and all went well<br>
except for this:<br>
<br>
1. I have introduced at the second line s-attributes this way: s:0+id+type, then at the restricted query for the s_id it only appears the data for S1 and S3, but not for S2 and S4, if you see the corpus text_1 owns S1 and S2, text_2 owns S3 and S4, so only
appears the first S of each text<br>
<br>
<br>
And I take the opportunity to ask you how do I upgrade with svn to the version you are recommending
<br>
<br>
<br>
Thanks, and If you don't answer right now I would understand it, Have a Great New Year's Eve!!!<o:p></o:p></s></p>
</div>
</div>
<p class="MsoNormal"><br>
<br>
<br>
_______________________<br>
andrés chandía<br>
<a href="http://www.chandia.net" target="_blank"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1025" src="cid:~WRD351.jpg" alt="Image removed by sender. chandia.net"></span></a><a href="https://twitter.com/andreschandia" target="_blank"><span style="border:solid windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="100" height="100" id="_x0000_i1026" src="cid:~WRD351.jpg" alt="Image removed by sender."></span></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:18.0pt;font-family:Webdings;color:#4F6228">P </span><span style="font-size:10.0pt;color:#4F6228">No imprima innecesariamente. ¡Cuide el medio ambiente!</span><o:p></o:p></p>
</div>
</body>
</html>