<commit_before>require 'formula'

class Shorten < Formula
  homepage 'http://www.etree.org/shnutils/shorten/'
  url 'http://www.etree.org/shnutils/shorten/dist/src/shorten-3.6.1.tar.gz'
  sha1 'bd525ced0b9ba99a7a178c11647a853147977fa5'

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end<commit_msg>shorten: test added<commit_after>class Shorten < Formula
  homepage "http://www.etree.org/shnutils/shorten/"
  url "http://www.etree.org/shnutils/shorten/dist/src/shorten-3.6.1.tar.gz"
  sha256 "ce22e0676c93494ee7d094aed9b27ad018eae5f2478e8862ae1e962346405b66"

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/shorten", test_fixtures("test.wav"), "test"
    assert File.exist? "test"
  end
end
{'fraction_non_alphanumeric': 0.14729458917835672, 'fraction_numerical': 0.0781563126252505, 'mean_word_length': 2.9330708661417324, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '3070056', 'n_tokens_mistral': 399, 'n_tokens_neox': 355, 'n_words': 55}