<commit_before>#!/usr/bin/env python

import sys, time
import whisper
from optparse import OptionParser

option_parser = OptionParser(
    usage='''%prog [options] from to''')

(options, args) = option_parser.parse_args()

if len(args) < 2:
  option_parser.print_usage()
  sys.exit(1)

path_from = args[0]
path_to = args[1]

with open(path_from, 'r+b') as from_fh:
  with open(path_to, 'r+b') as to_fh:
    whisper.file_merge(from_fh, to_fh)<commit_msg>- Fix command line<commit_after>#!/usr/bin/env python

import sys, time
import whisper
from optparse import OptionParser

option_parser = OptionParser(
    usage='''%prog [options] from_path to_path''')

(options, args) = option_parser.parse_args()

if len(args) < 2:
  option_parser.print_usage()
  sys.exit(1)

path_from = args[0]
path_to = args[1]

with open(path_from, 'r+b') as from_fh:
  with open(path_to, 'r+b') as to_fh:
    whisper.file_merge(from_fh, to_fh)
{'fraction_non_alphanumeric': 0.13789359391965256, 'fraction_numerical': 0.008686210640608035, 'mean_word_length': 5.1879194630872485, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2107833', 'n_tokens_mistral': 366, 'n_tokens_neox': 353, 'n_words': 84}