<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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