code: def set_dicts(self, word_dict, char_dict):
          
          self.word_dict = word_dict
          self.char_dict = char_dict
docs: Set with custom dictionaries.
  
          :param word_dict: The word dictionary.
          :param char_dict: The character dictionary.