code: public static void createWordNetCaches(String componentKey, Properties properties) throws SMatchException {
          properties = getComponentProperties(makeComponentPrefix(componentKey, InMemoryWordNetBinaryArray.class.getSimpleName()), properties);
          if (properties.containsKey(JWNL_PROPERTIES_PATH_KEY)) {
              // initialize JWNL (this must be done before JWNL library can be used)
              try {
                  final String configPath = properties.getProperty(JWNL_PROPERTIES_PATH_KEY);
                  log.info("Initializing JWNL from " + configPath);
                  JWNL.initialize(new FileInputStream(configPath));
              } catch (JWNLException e) {
                  final String errMessage = e.getClass().getSimpleName() + ": " + e.getMessage();
                  log.error(errMessage, e);
                  throw new SMatchException(errMessage, e);
              } catch (FileNotFoundException e) {
                  final String errMessage = e.getClass().getSimpleName() + ": " + e.getMessage();
                  log.error(errMessage, e);
                  throw new SMatchException(errMessage, e);
              }
          } else {
              final String errMessage = "Cannot find configuration key " + JWNL_PROPERTIES_PATH_KEY;
              log.error(errMessage);
              throw new SMatchException(errMessage);
          }
  
          log.info("Creating WordNet caches...");
          writeNominalizations(properties);
          writeSynonymsAdj(properties);
          writeOppAdverbs(properties);
          writeOppAdjectives(properties);
          writeOppNouns(properties);
          writeNounMG(properties);
          writeVerbMG(properties);
          log.info("Done");
      }
docs: Create caches of WordNet to speed up matching.
  
  @param componentKey a key to the component in the configuration
  @param properties   configuration
  @throws SMatchException SMatchException