From: Robert Klemme Date: 2007-03-12T05:45:05+09:00 Subject: Re: Opening a large file many times / optimisation On 11.03.2007 18:55, Paul Nulty wrote: >> Isn't there a Ruby/Wordnet interface? Doctor Google recommended >> http://www.deveiate.org/projects/Ruby-WordNet/ > > yep i'm using that; it's great but as far as i can tell it doesn't use > sense keys, it uses sense numbers. I only have the sense keys, so i > need to get the sense number from the sense key manually. Try reading the file and storing all combinations in a Hash with sense key as key and number as value. robert