<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19328">
</head>
<body>
<div><span class="406030505-06112012"><font color="#000080" size="2" face="Verdana">Hi Albert,</font></span></div>
<div><span class="406030505-06112012"></span>&nbsp;</div>
<div><span class="406030505-06112012"><font color="#000080" size="2" face="Verdana">Could you send me that downloaded result file? (off-list) It might help diagnose.</font></span></div>
<div><span class="406030505-06112012"><font color="#000080" size="2" face="Verdana"></font></span>&nbsp;</div>
<div><span class="406030505-06112012"><font color="#000080" size="2" face="Verdana">best</font></span></div>
<div><span class="406030505-06112012"><font color="#000080" size="2" face="Verdana"></font></span>&nbsp;</div>
<div><span class="406030505-06112012"><font color="#000080" size="2" face="Verdana">Andrew.</font></span></div>
<br>
<blockquote style="BORDER-LEFT: #000080 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir="ltr">
<div dir="ltr" lang="en-us" class="OutlookMessageHeader" align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>From:</b> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]
<b>On Behalf Of </b>Albert Gatt<br>
<b>Sent:</b> 05 November 2012 16:17<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] Problem encoding corpus with POS tags<br>
</font><br>
</div>
<div></div>
It seems that POS is indeed set as primary annotation. When I go to &quot;Manage Annotation&quot;, I see &quot;part of speech tag&quot; as the primary (this is the description i assigned when I set &quot;pos&quot; to be the primary annotation at the installation stage).
<div><br>
</div>
<div>Another observation: when I search for, say &quot;word_NN&quot;, I get no results. I do get results when I search for &quot;word_*&quot;, and when I download the result file, I see the POS. I don't know if that's at all useful to localise the problem.<br>
<div><br>
</div>
<div>albert</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 5 November 2012 15:34, Hardie, Andrew <span dir="ltr">
&lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
Hi Albert,<br>
<br>
You may need to check whether pos has been configured properly as primary annotation.<br>
<br>
As a superuser, go to the main corpus search page then on the menu select &gt; Manage Annotation. See if the &quot;Primary annotation&quot; slot has POS selected. If not, change and update, then it should work.<br>
<br>
If, on the other hand, pos *IS* properly selected on that screen, let me know, and I'll look into what else might be causing the problem.<br>
<br>
(I am not sure why sometimes the primary annotation is not selected correctly at index time. A bug, of course, but none one I've managed to track down yet as it seems to be intermittent. I'll work it out eventually.)<br>
<br>
best<br>
<br>
Andrew.<br>
<br>
==========================<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>] On Behalf Of Albert Gatt<br>
Sent: 05 November 2012 14:09<br>
To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
Subject: [CWB] Problem encoding corpus with POS tags<br>
<div>
<div class="h5"><br>
I'm trying to install a corpus which has word &#43; POS, via CQPWeb. An example of the data is shown below:<br>
<br>
&lt;text id=&quot;lh1&quot;&gt;<br>
&lt;s id=&quot;0&quot;&gt;<br>
Anqas &nbsp; MV<br>
gݤaraftek &nbsp; &nbsp; &nbsp; VV<br>
... &nbsp; &nbsp; PUN<br>
&lt;/s&gt;<br>
...<br>
&lt;/text&gt;<br>
<br>
When I install, I leave the s-attributes as default (since &quot;s&quot; is the only structural attribute I have, apart from &quot;text&quot;) and specify &quot;pos&quot; as the primary p-attribute.<br>
<br>
The corpus installs without problems, and I can use CQPWeb's frequency list functionality to see a list of different parts of speech, as well as word tokens. I can successfully run queries for words. However, any query that involves POS gives me no results
 (e.g. &quot;kien_VA&quot; where &quot;kien&quot; is a word and &quot;VA&quot; is a tag).&nbsp;<br>
<br>
I'm not sure where the problem lies.<br>
<br>
thanks<br>
albert<br>
<br>
<br>
--<br>
-----------------------------------------------------------------<br>
Albert Gatt<br>
Institute of Linguistics&nbsp;<br>
Rm 22, Block A<br>
Car Park 6<br>
University of Malta<br>
Tal-Qroqq Msida MSD2080<br>
Malta<br>
&nbsp;<br>
tel: <a href="tel:%28%2B356%29%202340%202150" value="&#43;35623402150">(&#43;356) 2340 2150</a><br>
<a href="http://staff.um.edu.mt/albert.gatt/" target="_blank">http://staff.um.edu.mt/albert.gatt/</a><br>
<br>
</div>
</div>
_______________________________________________<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>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>-----------------------------------------------------------------</div>
<div>Albert Gatt</div>
<div>Institute of Linguistics&nbsp;</div>
<div>Rm 22, Block A</div>
<div>Car Park 6</div>
<div>University of Malta</div>
<div>Tal-Qroqq Msida MSD2080</div>
<div>Malta</div>
<div>&nbsp;</div>
<div>tel: (&#43;356) 2340 2150<br>
</div>
<div><a href="http://staff.um.edu.mt/albert.gatt/" target="_blank">http://staff.um.edu.mt/albert.gatt/</a></div>
<br>
</div>
</blockquote>
</body>
</html>