<commit_before>require 'formula'

class Diffuse < Formula
  homepage 'http://diffuse.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/diffuse/diffuse/0.4.6/diffuse-0.4.6.tar.bz2'
  sha1 '29439e2a069ec00bc50347a59ec410d79ab3735e'

  depends_on 'pygtk'

  def install
    system "python", "./install.py",
                     "--sysconfdir=#{etc}",
                     "--examplesdir=#{share}",
                     "--prefix=#{prefix}"
  end

  def test
    system "#{bin}/diffuse", "--help"
  end
end<commit_msg>diffuse 0.4.7<commit_after>require 'formula'

class Diffuse < Formula
  homepage 'http://diffuse.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/diffuse/diffuse/0.4.7/diffuse-0.4.7.tar.bz2'
  sha1 '9e3b906b579495027b76dc723b5df28e400d3f26'

  depends_on 'pygtk'

  def install
    system "python", "./install.py",
                     "--sysconfdir=#{etc}",
                     "--examplesdir=#{share}",
                     "--prefix=#{prefix}"
  end

  def test
    system "#{bin}/diffuse", "--help"
  end
end
{'fraction_non_alphanumeric': 0.15849056603773584, 'fraction_numerical': 0.06981132075471698, 'mean_word_length': 2.42258064516129, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3797371', 'n_tokens_mistral': 422, 'n_tokens_neox': 371, 'n_words': 58}