code: def load_replacement_patterns(self):
          
          filename = self.dictionary + '.py'
          models = self.language + '_models_cltk'
          rel_path = os.path.join('~/cltk_data',
                                  self.language,
                                  'model',
                                  models,
                                  'semantics',
                                  filename)
          path = os.path.expanduser(rel_path)
          logger.info('Loading lemmata or synonyms. This may take a minute.')
          loader = importlib.machinery.SourceFileLoader(filename, path)
          module = types.ModuleType(loader.name)
          loader.exec_module(module)
          return module.DICTIONARY
docs: Check for availability of the specified dictionary.