I remember a little while back Linas Vepsats wrote something that could
deal with sensekeys. He's released it on CPAN:http://search.cpan.org/dist/WordNet-SenseKey/
On Mon, 2010-04-05 at 17:34 -0500, Ted Pedersen wrote:
> Hi Bano,
> Very impressive memory. :) That had totally slipped my mind, but
> indeed it is here (on my very own web page
> Here's the short description from that page...
> Map from QueryData to WordNet sense-keys
> QueryData identifies WordNet senses using a word#pos#sense format.
> WordNet identifies senses using sense-keys (aka mnemonics). This
> program creates a mapping between the QueryData format and the WordNet
> sense-key format. (This tool is not specific to Senseval-2 data - it
> is generally useful if are using QueryData to access WordNet.)
> So, this sounds very much like what Ambikesh may want to use. Thanks
> for pointing this out, I absolutely missed this!
> On Mon, Apr 5, 2010 at 5:26 PM, Satanjeev Banerjee <email@example.com
> > Hi Ted,
> > I'm pretty rusty with Senserelate, but I vaguely recall having written a
> > program (way back when!) that at least created a map between the sensekeys
> > and the word#pos#sense format (but maybe we are talking of something else
> > here?) I googled around for it, and found this link:
> > http://www.d.umn.edu/~tpederse/Code/Readme-qd2wn.txt
. Does this program
> > still exist? As far as I remember, it depended on the minutiae of the
> > various file formats in WordNet, so I wouldn't be surprised if those formats
> > have changed now rendering the program useless :-).
> > -Bano
> > On Mon, Apr 5, 2010 at 6:11 PM, Ted Pedersen <firstname.lastname@example.org
> >> Hi Ambikesh,
> >> See my comments inline...
> >> On Mon, Apr 5, 2010 at 4:43 PM, Ambikesh jayal <email@example.com
> >> wrote:
> >> >
> >> > Hi,
> >> > The WordNet::SenseRelate returns the value in the format "infer#v#5". To
> >> > run my experiments I need to compare it with a value in the format
> >> > "infer%2:31:01::".
> >> > 1. Is there a function that takes sense key as input and returns the
> >> > corresponding sense number? For example inputting "infer%2:31:01" should
> >> > return "infer#v#5".
> >> I am not sure, but if there is it would be in WordNet::QueryData.
> >> http://search.cpan.org/dist/WordNet-QueryData/
> >> While we use WordNet::QueryData, we don't include all of its
> >> functionality, so this might be something that they provide but we
> >> don't use. There is mailing list devoted to QueryData that might be
> >> the best place to ask this - it's a google group named wn-perl
> >> (details can be found at the site above).
> >> >
> >> > 2. Can WordNet::SenseRelate be configured to return the results in the
> >> > format "infer%2:31:01::" ?
> >> No, we only support the wps format (word#part-of-speech#sense, as in
> >> > Also can WordNet::SenseRelate be configured for list of stopwords,
> >> > special characters?
> >> Yes. See the stoplist option described here
> >> http://search.cpan.org/dist/WordNet-SenseRelate-AllWords/lib/WordNet/SenseRelate/AllWords.pm
> >> and here
> >> http://search.cpan.org/dist/WordNet-SenseRelate-AllWords/utils/wsd.pl
> >> and find a sample stoplist here :
> >> http://cpansearch.perl.org/src/TPEDERSE/WordNet-SenseRelate-AllWords-0.19/samples/default-stoplist-raw.txt
> >> ;)
> >> Good luck,
> >> Ted
> >> > Thanks,
> >> > Regards,
> >> > Ambikesh Jayal.
> >> > School of IS, Computing & Maths,
> >> > Brunel University,
> >> > Uxbridge, UB8 3PH,
> >> > United Kingdom.
> >> > Email: firstname.lastname@example.org
> >> > Webpage: http://people.brunel.ac.uk/~cspgaaj
> >> >
> >> --
> >> Ted Pedersen
> >> http://www.d.umn.edu/~tpederse
> >> ------------------------------------------------------------------------------
> >> Download Intel® Parallel Studio Eval
> >> Try the new software tools for yourself. Speed compiling, find bugs
> >> proactively, and fine-tune applications for parallel performance.
> >> See why Intel Parallel Studio got high marks during beta.
> >> http://p.sf.net/sfu/intel-sw-dev
> >> _______________________________________________
> >> senserelate-developers mailing list
> >> email@example.com
> >> https://lists.sourceforge.net/lists/listinfo/senserelate-developers
> Ted Pedersen
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> senserelate-developers mailing list