def set_dicts(self, word_dict, char_dict):
        """Set with custom dictionaries.

        :param word_dict: The word dictionary.
        :param char_dict: The character dictionary.
        """
        self.word_dict = word_dict
        self.char_dict = char_dict
Set with custom dictionaries.

        :param word_dict: The word dictionary.
        :param char_dict: The character dictionary.