<HTML>
<HEAD>
<TITLE>Re: [ACT-R-users] WN-Lexical question</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Bruce, <BR>
This is an excellent suggestion. <BR>
Currently WN-Lexical is not making use of the word sense number, which encodes frequency information, but not the actual frequency.<BR>
I will update the module in the next couple of weeks to add this functionality. <BR>
Thanks again for your interest.<BR>
Bruno<BR>
<BR>
<BR>
On 6/18/08 11:41 AM, "Bruce J Weimer MD" <bjweimer@charter.net> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Arial">Bruno,<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">Thank you for the explanation and code!  I suspected that there was a certain amount of randomness inherent in this system.  But I have a question - there are several definitions for "dog"... but if I ask you to define "dog", you would almost certainly pick:<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
(a member of the genus Canis (probably descended from the common wolf) that has been domesticated by man since prehistoric times; occurs in many breeds) <BR>
 <BR>
</FONT><FONT FACE="Arial">which is the first definition that appears when you search WordNet on-line:<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial"><a href="http://wordnet.princeton.edu/perl/webwn?s=dog&o2=&o0=1&o7=&o5=&o1=1&o6=&o4=&o3=&h">http://wordnet.princeton.edu/perl/webwn?s=dog&o2=&o0=1&o7=&o5=&o1=1&o6=&o4=&o3=&h</a> <a href="http://wordnet.princeton.edu/perl/webwn?s=dog&o2=&o0=1&o7=&o5=&o1=1&o6=&o4=&o3=&h"><http://wordnet.princeton.edu/perl/webwn?s=dog&amp;o2=&amp;o0=1&amp;o7=&amp;o5=&amp;o1=1&amp;o6=&amp;o4=&amp;o3=&amp;h></a> =<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">In fact, the WordNet on-line responses seem to ordered according to the most common meanings first.  I was just wondering if we could get at the definitions ranked according to usage.........  it seems that somehow they do..........<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">Bruce.<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
 <BR>
---- Original Message ----- <BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana, Helvetica, Arial"> <BR>
<B>From:</B>  Emond, Bruno <a href="mailto:bruno.emond@nrc-cnrc.gc.ca"><mailto:bruno.emond@nrc-cnrc.gc.ca></a>  <BR>
 <BR>
<B>To:</B> Bruce J Weimer MD <a href="mailto:bjweimer@charter.net"><mailto:bjweimer@charter.net></a>  ; ACT-R <a href="mailto:act-r-users@act-r.psy.cmu.edu"><mailto:act-r-users@act-r.psy.cmu.edu></a>  <BR>
 <BR>
<B>Sent:</B> Tuesday, June 17, 2008 9:41 AM<BR>
 <BR>
<B>Subject:</B> Re: [ACT-R-users] WN-Lexical  question<BR>
 <BR>
<BR>
Bruce, <BR>
In principle, there is no first or last  gloss in the lexicon. <BR>
There is just some higher probability that some  lexical elements will be retrieved given a prior context. <BR>
<BR>
In  Wn-Lexical, a random selection, a set-difference or a set intersection  constraint can be specified in the retrieval request.<BR>
Also, in Wordnet  every lexical entry and operator has a synset-id attached to it. Words having  the same synset-ids are synonyms. <BR>
This way you can have a constrained  retrieval of a specific gloss or word given a known synset-id. <BR>
<BR>
I have  attached to this email a new set of files for the WNLexical module. <BR>
In  particular, you could have a look at the model find-all-synomyns.lisp as an  example of getting a specific word sense. <BR>
More elaborate models could use  the hyponyms and hypernyms operators. <BR>
<BR>
Bruno<BR>
<BR>
<BR>
On 6/15/08 7:56  PM, "Bruce J Weimer MD" <bjweimer@charter.net>  wrote:<BR>
<BR>
 <BR>
</FONT></SPAN><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Arial">I'm looking at  the example "wnl-find-definition.lisp" - it returns a random gloss for the  word... is there a way to get it to return the first gloss?<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT><FONT FACE="Arial">Bruce.<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"><BR>
<BR>
 <BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"> </FONT></SPAN><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
ACT-R-users  mailing list<BR>
ACT-R-users@act-r.psy.cmu.edu<BR>
<a href="http://act-r.psy.cmu.edu/mailman/listinfo/act-r-users">http://act-r.psy.cmu.edu/mailman/listinfo/act-r-users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
-- <BR>
Bruno Emond. Ph.D.<BR>
Research Officer | Agent de Recherche<BR>
Tel. | Tél. 1.613.991.5471<BR>
Facsimile | Télécopieur 1.613.952.0215<BR>
bruno.emond@nrc-cnrc.gc.ca<BR>
<BR>
Institute for Information Technology<BR>
Institut de technologie de l'information<BR>
<a href="http://iit-iti.nrc-cnrc.gc.ca">http://iit-iti.nrc-cnrc.gc.ca</a><BR>
<BR>
National Research Council Canada<BR>
Conseil National de Recherches Canada<BR>
1200 Montreal Rd., M50, Ottawa, ON  K1A 0R6<BR>
Government of Canada |  Gouvernement du Canada<BR>
<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>