<div dir="ltr"><div><div><div><div>Hi, <br><br>I've dug up a bit and have come to know that the attributes I mentioned are stored as s-attributes. So, I have this example text:<br><br><news title="A Thrilling Experience" date="01/01/2013" source="<a href="http://www.timesofmalta.com">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></div>As s-attributes (XML elements) I put in <b>p</b>, <b>p_id</b>, <b>news</b>, <b>news_title</b>, <b>news_source</b> and <b>news_date</b>. Upon installing the corpus, I select to install metadata via xml annotated within the corpus and select <b>news_title</b>, <b>news_source</b> and <b>news_date</b> however when I click on "Create metadata table from XML using settings above", I get this error: <br>
<br><p class=""><b>Error message</b></p>
        
        
                
                                **** CQP ERROR ****<br>        CQP Error:<br>                No annotated values for s-attribute ``news_title'' in named query c_M_F_xml<br><br></div><br>I'm not 100% confident of what I'm doing since it's my first time, so I might have easily misunderstood something. What am I doing wrong?<br>
<br></div>Many thanks in advance,<br></div>Kurt<br><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 10:39 PM, Kurt Sultana <span dir="ltr"><<a href="mailto:kurtanatlus@gmail.com" target="_blank">kurtanatlus@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all, <div><br></div><div>I have a news corpus which I'd like to put in CQPWeb. </div>
<div><br></div><div>I'm currently representing a news text (in Maltese) like this: </div><div>
<div><text id="1"></div><div><s></div><div>L<span style="white-space:pre-wrap">        </span>NP<br></div><div>-<span style="white-space:pre-wrap">        </span>PUN</div><div>armi<span style="white-space:pre-wrap">        </span>VV</div>
<div>nxtraw<span style="white-space:pre-wrap">        </span>VV</div><div>separatament<span style="white-space:pre-wrap">        </span>MV</div><div>minn<span style="white-space:pre-wrap">        </span>PRP</div><div>l-<span style="white-space:pre-wrap">        </span>DDC</div>
<div>istess<span style="white-space:pre-wrap">        </span>MJ</div><div>kollezzjonista<span style="white-space:pre-wrap">        </span>NN</div><div>anonimu<span style="white-space:pre-wrap">        </span>NN</div><div>minn<span style="white-space:pre-wrap">        </span>PRP</div>
<div>Texas<span style="white-space:pre-wrap">        </span>NP</div><div>.<span style="white-space:pre-wrap">        </span>PUN</div><div></s></div><div><s></div><div>Dan<span style="white-space:pre-wrap">        </span>PD</div>
<div>ifisser<span style="white-space:pre-wrap">        </span>VV</div><div>li<span style="white-space:pre-wrap">        </span>CMP</div><div>l-<span style="white-space:pre-wrap">        </span>DDC</div><div>armi<span style="white-space:pre-wrap">        </span>NN</div>
<div>anke<span style="white-space:pre-wrap">        </span>CC</div><div>wara<span style="white-space:pre-wrap">        </span>PRP</div><div>li<span style="white-space:pre-wrap">        </span>CMP</div><div>nbiegħu<span style="white-space:pre-wrap">        </span>VV</div>
<div>se<span style="white-space:pre-wrap">        </span>PAF</div><div>jibqgħu<span style="white-space:pre-wrap">        </span>VV</div><div>flimkien<span style="white-space:pre-wrap">        </span>MV</div><div>.<span style="white-space:pre-wrap">        </span>PUN</div>
<div></s></div><div></text></div><div><br></div><div>A news text, apart from text, usually contains the title and date of publication. How could I include this information in the above, for example? Would these take the form of attributes? And could I run queries against these new attributes?<br>
</div><div><br></div><div>Thanks in advance,<br></div><div>Kurt</div></div></div>
</blockquote></div><br></div></div></div></div></div></div>