Making sense of sense ids

46 views
Skip to first unread message

Torsten Zesch

unread,
Dec 13, 2013, 1:14:37 PM12/13/13
to dkpro-w...@googlegroups.com
Hi all,

I am having a hard time figuring out the meaning of the senseids in SemCor, e.g.
encounter%2:38:00::

I read the documentation here, but it didn't help much
http://wordnet.princeton.edu/man/senseidx.5WN.html

Is there a way to get from that sense id the "sense number" - in the meaning of "n-th sense of that lemma in the list of senses in WordNet".
encounter#1

-Torsten

Tristan Miller

unread,
Dec 13, 2013, 2:56:20 PM12/13/13
to dkpro-w...@googlegroups.com
Greetings.
Yes, but this isn't a function provided by DKPro WSD itself. Sense IDs of
the form encounter%2:38:00:: are WordNet sense keys. In your WordNet
distribution, the delimited text file dict/index.sense provides mappings
from sense keys (column 1) to sense numbers (column 3). You could write a
few lines of code to read these columns into a hash table.

(Some WordNet APIs may already have a method to do this. The si.wordnet
module in DKPro WSD uses extJWNL; I had a quick look at the Javadocs for
extJWNL but didn't see anything relevant. If extJWNL doesn't have it, then
JWNL probably doesn't either.)

Regards,
Tristan

--
Ubiquitous Knowledge Processing Lab (UKP-TUDA)
Department of Computer Science, Technische Universität Darmstadt
Tel: +49 6151 16 6166 | Web: http://www.ukp.tu-darmstadt.de/
signature.asc

Torsten Zesch

unread,
Dec 13, 2013, 3:03:27 PM12/13/13
to dkpro-w...@googlegroups.com
Thanks, this was exactly the piece of information I was missing.

-Torsten
Reply all
Reply to author
Forward
0 new messages