<commit_before>require 'formula'

class AspellLang < Formula
  def install
    aspell = Formula.factory 'aspell'
    system "PATH=$PATH:#{aspell.prefix}/bin; ./configure --vars ASPELL=#{aspell.prefix}/bin/aspell PREZIP=#{aspell.prefix}/bin/prezip"
    system "PATH=$PATH:#{aspell.prefix}/bin; make install"
  end
end

class Aspell < Formula
  url 'http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz'
  homepage 'http://aspell.net/'
  md5 'e66a9c9af6a60dc46134fdacf6ce97d7'

  fails_with_llvm "Segmentation fault during linking."

  def options
    [
      ['--lang=XX,...', "Install dictionary for language XX where XX is the country code, e.g.: --lang=en,es\n\tAvailable country codes: #{available_languages.join(', ')}"],
      ['--all', "Install all available dictionaries"]<commit_msg>Aspell builds with LLVM<commit_after>require 'formula'

class AspellLang < Formula
  def install
    aspell = Formula.factory 'aspell'
    system "PATH=$PATH:#{aspell.prefix}/bin; ./configure --vars ASPELL=#{aspell.prefix}/bin/aspell PREZIP=#{aspell.prefix}/bin/prezip"
    system "PATH=$PATH:#{aspell.prefix}/bin; make install"
  end
end

class Aspell < Formula
  url 'http://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz'
  homepage 'http://aspell.net/'
  md5 'e66a9c9af6a60dc46134fdacf6ce97d7'

  fails_with_llvm "Segmentation fault during linking.", :build => 2334

  def options
    [
      ['--lang=XX,...', "Install dictionary for language XX where XX is the country code, e.g.: --lang=en,es\n\tAvailable country codes: #{available_languages.join(', ')}"],
      ['--all', "Install all available dictionaries"]
{'fraction_non_alphanumeric': 0.15671641791044777, 'fraction_numerical': 0.029850746268656716, 'mean_word_length': 4.012461059190031, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3187085', 'n_tokens_mistral': 590, 'n_tokens_neox': 558, 'n_words': 124}