<commit_before>class Tpp < Formula
  desc "Ncurses-based presentation tool"
  homepage "https://synflood.at/tpp.html"
  url "https://synflood.at/tpp/tpp-1.3.1.tar.gz"
  sha256 "68e3de94fbfb62bd91a6d635581bcf8671a306fffe615d00294d388ad91e1b5f"

  bottle do
    cellar :any_skip_relocation
    sha256 "456d29f0bcc3f5a7e9459ef5a57dc79a6dcdd4406eaada10db2117c0b784cc4a" => :sierra
    sha256 "a0b802dc4116de3774ec49c334cfc3857812abe01dd1925d2c0a2c0a10313bd8" => :el_capitan
    sha256 "4f22f55329a54c477c0f2dbc795be1aa7711e7c11b0c941d6a1c72d511ad94e5" => :yosemite
    sha256 "7b84619c71138a698f5fb04b1e431f999c2b2d08626fa8fdfdc2a5f4c1202196" => :mavericks
  end

  depends_on "figlet" => :optional

  resource "ncurses-ruby" do
    url "https://downloads.sf.net/project/ncurses-ruby.berlios/ncurses-ruby-1.3.1.tar.bz2"
    sha256 "dca8ce452e989ce1399cb683184919850f2baf79e6af9d16a7eed6a9ab776ec5"
  end

  def install<commit_msg>tpp: canonicalize sf.net url<commit_after>class Tpp < Formula
  desc "Ncurses-based presentation tool"
  homepage "https://synflood.at/tpp.html"
  url "https://synflood.at/tpp/tpp-1.3.1.tar.gz"
  sha256 "68e3de94fbfb62bd91a6d635581bcf8671a306fffe615d00294d388ad91e1b5f"

  bottle do
    cellar :any_skip_relocation
    sha256 "456d29f0bcc3f5a7e9459ef5a57dc79a6dcdd4406eaada10db2117c0b784cc4a" => :sierra
    sha256 "a0b802dc4116de3774ec49c334cfc3857812abe01dd1925d2c0a2c0a10313bd8" => :el_capitan
    sha256 "4f22f55329a54c477c0f2dbc795be1aa7711e7c11b0c941d6a1c72d511ad94e5" => :yosemite
    sha256 "7b84619c71138a698f5fb04b1e431f999c2b2d08626fa8fdfdc2a5f4c1202196" => :mavericks
  end

  depends_on "figlet" => :optional

  resource "ncurses-ruby" do
    url "https://downloads.sourceforge.net/project/ncurses-ruby.berlios/ncurses-ruby-1.3.1.tar.bz2"
    sha256 "dca8ce452e989ce1399cb683184919850f2baf79e6af9d16a7eed6a9ab776ec5"
  end

  def install
{'fraction_non_alphanumeric': 0.08528784648187633, 'fraction_numerical': 0.27292110874200426, 'mean_word_length': 5.977695167286245, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 6, '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': '7098402', 'n_tokens_mistral': 1171, 'n_tokens_neox': 923, 'n_words': 88}