<commit_before>require 'formula'

class Kawa < Formula
  homepage 'http://www.gnu.org/software/kawa/'
  url 'http://ftpmirror.gnu.org/kawa/kawa-1.13.jar'
  mirror 'http://ftp.gnu.org/gnu/kawa/kawa-1.13.jar'
  sha1 'c49155de929d932f48c16e77b318018849deaa78'

  def install
    prefix.install "kawa-#{version}.jar"
    (bin+'kawa').write <<-EOS.undent
      #!/bin/sh
      KAWA_HOME="#{prefix}"
      java -jar "$KAWA_HOME/kawa-#{version}.jar"
    EOS
  end
end<commit_msg>kawa 1.14<commit_after>require 'formula'

class Kawa < Formula
  homepage 'http://www.gnu.org/software/kawa/'
  url 'http://ftpmirror.gnu.org/kawa/kawa-1.14.jar'
  mirror 'http://ftp.gnu.org/gnu/kawa/kawa-1.14.jar'
  sha1 '87354829bfb28649c771d011769cf79fac5b2621'

  def install
    prefix.install "kawa-#{version}.jar"
    (bin+'kawa').write <<-EOS.undent
      #!/bin/sh
      KAWA_HOME="#{prefix}"
      java -jar "$KAWA_HOME/kawa-#{version}.jar"
    EOS
  end
end
{'fraction_non_alphanumeric': 0.17340425531914894, 'fraction_numerical': 0.07872340425531915, 'mean_word_length': 3.257918552036199, 'pattern_counts': {'":': 0, '<': 9, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3461673', 'n_tokens_mistral': 444, 'n_tokens_neox': 406, 'n_words': 54}