<commit_before>require 'formula'

class Htmlcompressor < Formula
  url 'http://htmlcompressor.googlecode.com/files/htmlcompressor-0.9.9.jar'
  homepage 'http://code.google.com/p/htmlcompressor/'
  md5 'cbfb5ec29d6f2c50b7aea28de8bc1227'

  def install
    libexec.install "htmlcompressor-0.9.9.jar"
    (bin+'htmlcompressor').write <<-EOS.undent
      #!/bin/sh
      java -jar "#{libexec}/htmlcompressor-0.9.9.jar" $@
    EOS
  end
end<commit_msg>htmlcompressor 1.3<commit_after>require 'formula'

class Htmlcompressor < Formula
  url 'http://htmlcompressor.googlecode.com/files/htmlcompressor-1.3.jar'
  homepage 'http://code.google.com/p/htmlcompressor/'
  md5 '68296830cb99e4348284ea88602ed06b'

  def install
    libexec.install "htmlcompressor-1.3.jar"
    (bin+'htmlcompressor').write <<-EOS.undent
      #!/bin/sh
      java -jar "#{libexec}/htmlcompressor-1.3.jar" $@
    EOS
  end
end
{'fraction_non_alphanumeric': 0.1433370660694289, 'fraction_numerical': 0.06494960806270997, 'mean_word_length': 3.75531914893617, 'pattern_counts': {'":': 0, '<': 9, '<?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': '6478666', 'n_tokens_mistral': 369, 'n_tokens_neox': 346, 'n_words': 48}