<commit_before>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php56Intl < AbstractPhp56Extension
  init
  desc "Wrapper for the ICU library"
  homepage "http://php.net/manual/en/book.intl.php"
  url PHP_SRC_TARBALL
  sha256 PHP_CHECKSUM[:sha256]
  version PHP_VERSION
  revision 3

  bottle do
    sha256 "86d39de1476dd0a38cd3ff85ec1e481343f7f3a9318ff15324136750a6d696d4" => :sierra
    sha256 "cbc3c7ee7ef4cdf6abfddda49a13354c5b2e89b0b7d843ea2a035e3a1bb448c2" => :el_capitan
    sha256 "ce357a2558190fa4faeccbd9bee376efe590b97b6e6be35a298338aaba46ff61" => :yosemite
  end

  depends_on "icu4c"

  def install<commit_msg>php56-intl: update 5.6.27_3 bottle.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php56Intl < AbstractPhp56Extension
  init
  desc "Wrapper for the ICU library"
  homepage "http://php.net/manual/en/book.intl.php"
  url PHP_SRC_TARBALL
  sha256 PHP_CHECKSUM[:sha256]
  version PHP_VERSION
  revision 3

  bottle do
    sha256 "d5957f6de56eb246d0952c2c7c4540e888fa4f7848a510092c82e7edc23c0334" => :sierra
    sha256 "161ab6b38e4128684f578609706bbddd839ff9803d1e99565fcde63d42071011" => :el_capitan
    sha256 "4e312305166343d4cf3085b1c68ed3c98ffbba7e14cadfdc74c7886a7186641e" => :yosemite
  end

  depends_on "icu4c"

  def install
{'fraction_non_alphanumeric': 0.0815868263473054, 'fraction_numerical': 0.21332335329341318, 'mean_word_length': 5.553921568627451, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4187020', 'n_tokens_mistral': 724, 'n_tokens_neox': 579, 'n_words': 80}