code: protected Dictionary getDictionary() throws IOException {
      Dictionary dict = this.dictionary;
      if (dict == null) {
        synchronized (this) {
          dict = this.dictionary;
          if (dict == null) {
            URL url = JLanguageTool.getDataBroker().getFromResourceDirAsUrl(resourceFileName);
            this.dictionary = dict = Dictionary.read(url);
          }
        }
      }
      return dict;
    }
docs: Returns the {@link Dictionary} used for this synthesizer.
  The dictionary file can be defined in the {@link #BaseSynthesizer(String, String) constructor}.
  @throws IOException In case the dictionary cannot be loaded.