<commit_before>(ns huffman.core
  (:gen-class))

(defn -main
  "I don't do a whole lot ... yet."
  [& args]
  (println "Hello, World!"))<commit_msg>core skeleton<commit_after>(ns huffman.core
  (:gen-class))

(defn usage [] (println "Uso: huffman [-c|-d] archivo_entrada archivo_salida"))

(defn compress [input output])

(defn decompress [input output])

(defn process [[cmd input-file output-file]]
  (case cmd
    "-c" (compress input-file output-file)
    "-d" (decompress input-file output-file)
    (usage)))

(defn -main
  "Huffman encoding decoding"
  [& args]
  (if (or (empty? args) (not= 3 (count args)))
    (usage)
    (process args)))
{'fraction_non_alphanumeric': 0.1712962962962963, 'fraction_numerical': 0.0015432098765432098, 'mean_word_length': 3.7720588235294117, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1350615', 'n_tokens_mistral': 246, 'n_tokens_neox': 239, 'n_words': 68}