<commit_before>class Redpen < Formula
  desc "Proofreading tool to help writers of technical documentation"
  homepage "http://redpen.cc/"
  url "https://github.com/redpen-cc/redpen/releases/download/redpen-1.9.0/redpen-1.9.0.tar.gz"
  sha256 "9981328bd6f1618899cf903bd01bf64f7e3541c1ba8ac4896c9b1b98c1ae4474"

  bottle :unneeded

  depends_on :java => "1.8+"

  def install
    # Don't need Windows files.
    rm_f Dir["bin/*.bat"]
    libexec.install %w[conf lib sample-doc js]

    prefix.install "bin"
    bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.8+"))
  end<commit_msg>redpen 1.10.0<commit_after>class Redpen < Formula
  desc "Proofreading tool to help writers of technical documentation"
  homepage "http://redpen.cc/"
  url "https://github.com/redpen-cc/redpen/releases/download/redpen-1.10.0/redpen-1.10.0.tar.gz"
  sha256 "ea7f794aa405510e5a2eb4ab60fb73c3ddde2cc41d086096cf27818a226e430c"

  bottle :unneeded

  depends_on :java => "1.8+"

  def install
    # Don't need Windows files.
    rm_f Dir["bin/*.bat"]
    libexec.install %w[conf lib sample-doc js]

    prefix.install "bin"
    bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.8+"))
  end
{'fraction_non_alphanumeric': 0.13036303630363036, 'fraction_numerical': 0.0924092409240924, 'mean_word_length': 4.139830508474576, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '7083491', 'n_tokens_mistral': 529, 'n_tokens_neox': 471, 'n_words': 82}