<commit_before>require 'formula'

class TwoLame < Formula
  url 'http://downloads.sourceforge.net/twolame/twolame-0.3.12.tar.gz'
  homepage 'http://www.twolame.org/'
  md5 'd38c3ead5ac49b7425c1a9ef91126a35'

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system "make install"
  end
end<commit_msg>two-lame 0.3.13 + option to build cli<commit_after>require 'formula'

class TwoLame < Formula
  homepage 'http://www.twolame.org/'
  url 'http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz'
  sha1 '3ca460472c2f6eeedad70291d8e37da88b64eb8b'

  depends_on 'libsndfile' if ARGV.include? '--frontend'

  def options
    [['--frontend', 'Build the twolame frontend using libsndfile']]
  end

  def install
    system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
    system 'make install'
  end
end
{'fraction_non_alphanumeric': 0.1484375, 'fraction_numerical': 0.06138392857142857, 'mean_word_length': 4.03932584269663, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1312411', 'n_tokens_mistral': 366, 'n_tokens_neox': 331, 'n_words': 64}