code: public void readDictionary(Reader reader, String name) {
          name = name.toLowerCase();
          logger.debug("Reading dictionary: ", name);
          if (!dictionaries.containsKey(name)) {
              try {
                  Dictionary dictionary = Dictionary.unmarshal(reader);
                  dictionaries.put(name, dictionary);
                  logger.debug("  ... loaded and stored");
              } catch (Exception exception) {
                  logger.error("Could not read dictionary: ", name);
                  logger.debug(exception);
              }
          } else {
              logger.error("Dictionary already loaded: ", name);
          }
      }
docs: Reads a custom dictionary into the database.
  @param reader The reader from which the dictionary data will be read
  @param name The name of the dictionary