def write_binary_file(self, file_name, obj):
        with open(file_name, 'wb') as fobj:
            pickle.dump(obj, fobj, pickle.HIGHEST_PROTOCOL)
Pickle an object into a file.
dataset/ETHPy150Open aalto-speech/morfessor/morfessor/io.py/MorfessorIO.write_binary_file