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