<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [ACT-R-users] WN-Lexical question</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16681" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Bruno,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>(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) 
</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>which is the first definition that appears when you 
search WordNet on-line:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><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>=</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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..........</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bruce.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV>---- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=bruno.emond@nrc-cnrc.gc.ca 
  href="mailto:bruno.emond@nrc-cnrc.gc.ca">Emond, Bruno</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=bjweimer@charter.net 
  href="mailto:bjweimer@charter.net">Bruce J Weimer MD</A> ; <A 
  title=act-r-users@act-r.psy.cmu.edu 
  href="mailto:act-r-users@act-r.psy.cmu.edu">ACT-R</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, June 17, 2008 9:41 
AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [ACT-R-users] WN-Lexical 
  question</DIV>
  <DIV><BR></DIV><FONT face="Verdana, Helvetica, Arial"><SPAN 
  style="FONT-SIZE: 12px">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></SPAN></FONT>
  <BLOCKQUOTE><SPAN style="FONT-SIZE: 12px"><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>
    <HR align=center width="95%" SIZE=3>
    </FONT></SPAN><FONT size=2><FONT face="Monaco, Courier New"><SPAN 
    style="FONT-SIZE: 10px">_______________________________________________<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: 10px"><BR></BLOCKQUOTE></SPAN></FONT></FONT></BODY></HTML>