<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def export(self, filepath, encoding="utf-8", gzipped=True):
 """ Export the word frequency list for import in the future Args: filepath (str):
 The filepath to the exported dictionary encoding (str):
 The encoding of the resulting output gzipped (bool):
 Whether to gzip the dictionary or not """

        data = json.dumps(self.word_frequency.dictionary, sort_keys=True)
        write_file(filepath, encoding, gzipped, data)