<div dir="ltr">Yes, sir, that&#39;s what you did and it is right. I recommend you to have a look at the great documentation manuals.<div><br></div><div>Best,</div><div>Martí<br><div class="gmail_extra"><br><br><div class="gmail_quote">

On Sun, Jan 27, 2013 at 5:00 AM,  <span dir="ltr">&lt;<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Send CWB mailing list submissions to<br>
        <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of CWB digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: News texts in CQPWeb (Kurt Sultana)<br>
   2. Re: News texts in CQPWeb (Kurt Sultana)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 26 Jan 2013 19:41:42 +0100<br>
From: Kurt Sultana &lt;<a href="mailto:kurtanatlus@gmail.com">kurtanatlus@gmail.com</a>&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] News texts in CQPWeb<br>
Message-ID:<br>
        &lt;CAEcwAkXzBbyQhZ1QMu581jU44RE_iAJS9FmhFy9O1Y=<a href="mailto:JvXbByg@mail.gmail.com">JvXbByg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hi,<br>
<br>
I&#39;ve dug up a bit and have come to know that the attributes I mentioned are<br>
stored as s-attributes. So, I have this example text:<br>
<br>
&lt;news title=&quot;A Thrilling Experience&quot; date=&quot;01/01/2013&quot; source=&quot;<br>
<a href="http://www.timesofmalta.com" target="_blank">www.timesofmalta.com</a>&quot;&gt;<br>
&lt;text id=&quot;4&quot;&gt;<br>
&lt;p id=&quot;1&quot;&gt;<br>
&lt;s&gt;<br>
Tick    NN    tick<br>
.    SENT     .<br>
&lt;/s&gt;<br>
&lt;s&gt;<br>
A    DT     a<br>
clock    NN    clock<br>
.    SENT    .<br>
&lt;/s&gt;<br>
&lt;s&gt;<br>
Tick    VB    tick<br>
,    ,    ,<br>
tick    VB    tick<br>
.    SENT    .<br>
&lt;/s&gt;<br>
&lt;/p&gt;<br>
&lt;/text&gt;<br>
&lt;/news&gt;<br>
<br>
As s-attributes (XML elements) I put in *p*, *p_id*, *news*, *news_title*, *<br>
news_source* and *news_date*. Upon installing the corpus, I select to<br>
install metadata via xml annotated within the corpus and select *news_title*,<br>
*news_source* and *news_date* however when I click on &quot;Create metadata<br>
table from XML using settings above&quot;, I get this error:<br>
<br>
*Error message*<br>
**** CQP ERROR ****<br>
CQP Error:<br>
No annotated values for s-attribute ``news_title&#39;&#39; in named query c_M_F_xml<br>
<br>
<br>
I&#39;m not 100% confident of what I&#39;m doing since it&#39;s my first time, so I<br>
might have easily misunderstood something. What am I doing wrong?<br>
<br>
Many thanks in advance,<br>
Kurt<br>
<br>
<br>
On Thu, Jan 24, 2013 at 10:39 PM, Kurt Sultana &lt;<a href="mailto:kurtanatlus@gmail.com">kurtanatlus@gmail.com</a>&gt;wrote:<br>
<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I have a news corpus which I&#39;d like to put in CQPWeb.<br>
&gt;<br>
&gt; I&#39;m currently representing a news text (in Maltese) like this:<br>
&gt; &lt;text id=&quot;1&quot;&gt;<br>
&gt; &lt;s&gt;<br>
&gt; L NP<br>
&gt; - PUN<br>
&gt; armi VV<br>
&gt; nxtraw VV<br>
&gt; separatament MV<br>
&gt; minn PRP<br>
&gt; l- DDC<br>
&gt; istess MJ<br>
&gt; kollezzjonista NN<br>
&gt; anonimu NN<br>
&gt; minn PRP<br>
&gt; Texas NP<br>
&gt; . PUN<br>
&gt; &lt;/s&gt;<br>
&gt; &lt;s&gt;<br>
&gt; Dan PD<br>
&gt; ifisser VV<br>
&gt; li CMP<br>
&gt; l- DDC<br>
&gt; armi NN<br>
&gt; anke CC<br>
&gt; wara PRP<br>
&gt; li CMP<br>
&gt; nbieg?u VV<br>
&gt; se PAF<br>
&gt; jibqg?u VV<br>
&gt; flimkien MV<br>
&gt; . PUN<br>
&gt; &lt;/s&gt;<br>
&gt; &lt;/text&gt;<br>
&gt;<br>
&gt; A news text, apart from text, usually contains the title and date of<br>
&gt; publication. How could I include this information in the above, for<br>
&gt; example? Would these take the form of attributes? And could I run queries<br>
&gt; against these new attributes?<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt; Kurt<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20130126/ca3f02cc/attachment-0001.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20130126/ca3f02cc/attachment-0001.html</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 27 Jan 2013 10:21:25 +0100<br>
From: Kurt Sultana &lt;<a href="mailto:kurtanatlus@gmail.com">kurtanatlus@gmail.com</a>&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] News texts in CQPWeb<br>
Message-ID:<br>
        &lt;CAEcwAkVDfN2W9hd_0Z0+ZM0s3bJ7rAB=<a href="mailto:4e3KLMe8Tgdi8_74hw@mail.gmail.com">4e3KLMe8Tgdi8_74hw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Bumped into an interesting mail post and I&#39;ve put in *<br>
news:0+title+source+date*, *s* and *p:0+id *now as s-attributes. Seems to<br>
be working now. Could anyone confirm I&#39;m doing this right?<br>
<br>
Thanks,<br>
Kurt<br>
<br>
<br>
On Sat, Jan 26, 2013 at 7:41 PM, Kurt Sultana &lt;<a href="mailto:kurtanatlus@gmail.com">kurtanatlus@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;ve dug up a bit and have come to know that the attributes I mentioned<br>
&gt; are stored as s-attributes. So, I have this example text:<br>
&gt;<br>
&gt; &lt;news title=&quot;A Thrilling Experience&quot; date=&quot;01/01/2013&quot; source=&quot;<br>
&gt; <a href="http://www.timesofmalta.com" target="_blank">www.timesofmalta.com</a>&quot;&gt;<br>
&gt; &lt;text id=&quot;4&quot;&gt;<br>
&gt; &lt;p id=&quot;1&quot;&gt;<br>
&gt; &lt;s&gt;<br>
&gt; Tick    NN    tick<br>
&gt; .    SENT     .<br>
&gt; &lt;/s&gt;<br>
&gt; &lt;s&gt;<br>
&gt; A    DT     a<br>
&gt; clock    NN    clock<br>
&gt; .    SENT    .<br>
&gt; &lt;/s&gt;<br>
&gt; &lt;s&gt;<br>
&gt; Tick    VB    tick<br>
&gt; ,    ,    ,<br>
&gt; tick    VB    tick<br>
&gt; .    SENT    .<br>
&gt; &lt;/s&gt;<br>
&gt; &lt;/p&gt;<br>
&gt; &lt;/text&gt;<br>
&gt; &lt;/news&gt;<br>
&gt;<br>
&gt; As s-attributes (XML elements) I put in *p*, *p_id*, *news*, *news_title*,<br>
&gt; *news_source* and *news_date*. Upon installing the corpus, I select to<br>
&gt; install metadata via xml annotated within the corpus and select *<br>
&gt; news_title*, *news_source* and *news_date* however when I click on<br>
&gt; &quot;Create metadata table from XML using settings above&quot;, I get this error:<br>
&gt;<br>
&gt; *Error message*<br>
&gt; **** CQP ERROR ****<br>
&gt; CQP Error:<br>
&gt; No annotated values for s-attribute ``news_title&#39;&#39; in named query c_M_F_xml<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m not 100% confident of what I&#39;m doing since it&#39;s my first time, so I<br>
&gt; might have easily misunderstood something. What am I doing wrong?<br>
&gt;<br>
&gt; Many thanks in advance,<br>
&gt; Kurt<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 24, 2013 at 10:39 PM, Kurt Sultana &lt;<a href="mailto:kurtanatlus@gmail.com">kurtanatlus@gmail.com</a>&gt;wrote:<br>
&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; I have a news corpus which I&#39;d like to put in CQPWeb.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m currently representing a news text (in Maltese) like this:<br>
&gt;&gt; &lt;text id=&quot;1&quot;&gt;<br>
&gt;&gt; &lt;s&gt;<br>
&gt;&gt; L NP<br>
&gt;&gt; - PUN<br>
&gt;&gt; armi VV<br>
&gt;&gt; nxtraw VV<br>
&gt;&gt; separatament MV<br>
&gt;&gt; minn PRP<br>
&gt;&gt; l- DDC<br>
&gt;&gt; istess MJ<br>
&gt;&gt; kollezzjonista NN<br>
&gt;&gt; anonimu NN<br>
&gt;&gt; minn PRP<br>
&gt;&gt; Texas NP<br>
&gt;&gt; . PUN<br>
&gt;&gt; &lt;/s&gt;<br>
&gt;&gt; &lt;s&gt;<br>
&gt;&gt; Dan PD<br>
&gt;&gt; ifisser VV<br>
&gt;&gt; li CMP<br>
&gt;&gt; l- DDC<br>
&gt;&gt; armi NN<br>
&gt;&gt; anke CC<br>
&gt;&gt; wara PRP<br>
&gt;&gt; li CMP<br>
&gt;&gt; nbieg?u VV<br>
&gt;&gt; se PAF<br>
&gt;&gt; jibqg?u VV<br>
&gt;&gt; flimkien MV<br>
&gt;&gt; . PUN<br>
&gt;&gt; &lt;/s&gt;<br>
&gt;&gt; &lt;/text&gt;<br>
&gt;&gt;<br>
&gt;&gt; A news text, apart from text, usually contains the title and date of<br>
&gt;&gt; publication. How could I include this information in the above, for<br>
&gt;&gt; example? Would these take the form of attributes? And could I run queries<br>
&gt;&gt; against these new attributes?<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance,<br>
&gt;&gt; Kurt<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20130127/c1b714bd/attachment-0001.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20130127/c1b714bd/attachment-0001.html</a>&gt;<br>


<br>
------------------------------<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
<br>
<br>
End of CWB Digest, Vol 73, Issue 5<br>
**********************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Martí Quixal<span style="color:rgb(80,0,80)">, Ph.D.</span><div>Computational Linguist &amp; Educational Technologist</div><div><a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a><br>

</div></div>
</div></div></div>