<commit_before>require 'formula'

class Arabica < Formula
  homepage 'http://www.jezuk.co.uk/cgi-bin/view/arabica'
  url 'http://sourceforge.net/projects/arabica/files/arabica/November-10/arabica-2010-November.tar.bz2'
  version '20101023'
  sha1 '03f8a8be9ad0a01482c397542f1fd06846424660'

  # Reported upstream. The project has been dormant since November, 2010.
  # https://sourceforge.net/tracker/?func=detail&aid=3533824&group_id=56163&atid=479571
  fails_with :clang do
    build 318
    cause "error: use of undeclared identifier 'sputc'"
  end

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end<commit_msg>arabica 20121126<commit_after>require 'formula'

class Arabica < Formula
  homepage 'http://www.jezuk.co.uk/cgi-bin/view/arabica'
  url 'http://sourceforge.net/projects/arabica/files/arabica/November-12/arabica-2012-November.tar.gz'
  version '20121126'
  sha1 '34d043607e048e0972a57e31bfff09086d893d14'

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.1251968503937008, 'fraction_numerical': 0.09606299212598425, 'mean_word_length': 2.99685534591195, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '632524', 'n_tokens_mistral': 522, 'n_tokens_neox': 429, 'n_words': 74}