Exports the dictionary to a file with the specified name.
The method does not raise an exception if the file cannot be written, read, or has an invalid format.
defexport_dictionary(self,file_path):...
Parameter
Type
Description
file_path
str
The file to export to.
Example
# Export an alias dictionary to a filealiases.export_dictionary("./Aliases.dat")# Export a homophone dictionary to a filehomophones.export_dictionary("./Homophones.dat")
Aliases
These names call export_dictionary too, limited to the overloads listed.