<commit_before>require 'formula'

class Tth < Formula
  homepage 'http://hutchinson.belmont.ma.us/tth/'
  url 'http://hutchinson.belmont.ma.us/tth/tth-noncom/tth_C.tgz'
  sha1 'bc571e5916b979c1dd8e3377249db66ceee28318'
  version '4.05'

  def install
    system "#{ENV.cc} -o tth tth.c"
    bin.install %w(tth latex2gif ps2gif ps2png)
    man1.install 'tth.1'
  end
end<commit_msg>tth 4.06<commit_after>class Tth < Formula
  homepage "http://hutchinson.belmont.ma.us/tth/"
  # upstream has been asked to provide versioned links (Jan 12, 2015)
  url "http://hutchinson.belmont.ma.us/tth/tth-noncom/tth_C.tgz"
  sha1 "27b44970d93f1e1964c92ffa0fa964e6045bae37"
  version "4.06"

  def install
    system ENV.cc, "-o", "tth", "tth.c"
    bin.install %w[tth latex2gif ps2gif ps2png]
    man1.install "tth.1"
  end

  test do
    assert_match(/version #{version}/, pipe_output("#{bin}/tth", ""))
  end
end
{'fraction_non_alphanumeric': 0.14015572858731926, 'fraction_numerical': 0.0878754171301446, 'mean_word_length': 3.712041884816754, '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': '2093157', 'n_tokens_mistral': 433, 'n_tokens_neox': 387, 'n_words': 73}