Jet
Class SenseResources

java.lang.Object
  extended byJet.SenseResources

public class SenseResources
extends java.lang.Object

Initializes JWNL and the sense corpus.


Constructor Summary
SenseResources()
           
 
Method Summary
static void initializeSenseResources()
          Retrieves the location of the JWNL initialization file from the Jet config file, initializes JWNL, creates an instance of a JWNL Dictionary, and creates an instance of an ACECategorySorter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenseResources

public SenseResources()
Method Detail

initializeSenseResources

public static void initializeSenseResources()
                                     throws JWNLException,
                                            SenseResourceException,
                                            java.io.IOException,
                                            java.lang.ClassNotFoundException
Retrieves the location of the JWNL initialization file from the Jet config file, initializes JWNL, creates an instance of a JWNL Dictionary, and creates an instance of an ACECategorySorter.

Throws:
JWNLException - Indicates a problem initializing JWNL
SenseResourceException - Indicates a problem retrieving initialization information from the Jet config file
java.io.IOException - Indicates a problem retrieving resources from the file system
java.lang.ClassNotFoundException - Indicates a problem with deserializing a SenseCorpus