<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def swear_word(self) -> str: """Get a random swear word. :return: Swear word. :Example: Damn. """

        bad_words = self._data['words'].get('bad')
        return self.random.choice(bad_words)