Class DictionaryToMap


  • public class DictionaryToMap
    extends java.lang.Object
    DictionaryToMap allows you to populate and create an in-memory map of the WordNet library. The goal of this utility is to provide a performance boost to applications using a high quantity of API calls to the JWNL library (such as word sense disambiguation algorithms, or dictionary services).
    • Constructor Summary

      Constructors 
      Constructor Description
      DictionaryToMap​(java.lang.String destDirectory, java.lang.String propFile)
      Initalize with the given map destination directory, using the properties file(usually file_properties.xml)
    • Constructor Detail

      • DictionaryToMap

        public DictionaryToMap​(java.lang.String destDirectory,
                               java.lang.String propFile)
                        throws JWNLException,
                               java.io.IOException
        Initalize with the given map destination directory, using the properties file(usually file_properties.xml)
        Parameters:
        destDirectory - - destination directory for in-memory map files
        propFile - - properties file of file-based WordNet
        Throws:
        JWNLException
        java.io.IOException