hobama / dkpro-wsd

Automatically exported from code.google.com/p/dkpro-wsd
0 stars 0 forks source link

Change WordNetSenseKeyToSynset so that it uses the extJWNL API rather than index.sense directly #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Previously WordNetSenseKeyToSynset used WordNet's index.sense file directly.  
This was because sometimes WSD pipelines had to work with multiple versions of 
WordNet simultaneously, but JWNL is unable to have more than one instance of 
WordNet open at a time.  Now that we have switched to extJWNL this is no longer 
an issue, and this rather ugly hack can be dispensed with.

Original issue reported on code.google.com by tristan.miller@nothingisreal.com on 23 Jul 2013 at 4:22

GoogleCodeExporter commented 9 years ago
WordNetSenseKeyToSynset converter now can be instructed to use an existing 
WordNet sense inventory instead of reading the WordNet index.sense file 
directly.  (Support for using index.sense was retained, because sometimes the 
user may wish to use a different sense inventory class, such as lsr or uby, 
which doesn't provide methods for converting between synsets and sense keys.)

Original comment by tristan.miller@nothingisreal.com on 25 Jul 2013 at 12:36