<commit_before>require 'formula'

class Languagetool < Formula
  homepage 'http://www.languagetool.org/'
  url 'http://www.languagetool.org/download/LanguageTool-2.0.oxt'
  sha1 'f21589f77511656bb7ca5e83b4c22f1660eb96d8'

  def install
    libexec.install Dir["*"]
    bin.write_jar_script libexec/'LanguageTool.jar', 'languagetool'
  end
end<commit_msg>LanguageTool 2.1<commit_after>require 'formula'

class Languagetool < Formula
  homepage 'http://www.languagetool.org/'
  url 'http://www.languagetool.org/download/LanguageTool-2.1.oxt'
  sha1 '73310a2400378ea2fd302a6654df32a5b471aa3e'

  def install
    libexec.install Dir["*"]
    bin.write_jar_script libexec/'LanguageTool.jar', 'languagetool'
  end
end
{'fraction_non_alphanumeric': 0.11954992967651196, 'fraction_numerical': 0.08720112517580872, 'mean_word_length': 4.983193277310924, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '4084174', 'n_tokens_mistral': 315, 'n_tokens_neox': 283, 'n_words': 40}