<commit_before>require 'formula'

class Libstfl < Formula
  homepage 'http://www.clifford.at/stfl/'
  url 'http://www.clifford.at/stfl/stfl-0.22.tar.gz'
  sha1 '226488be2b33867dfb233f0fa2dde2d066e494bd'

  depends_on :python => :recommended
  depends_on 'swig' => :build

  def patches; DATA; end
<commit_msg>libstfl: use patch DSL<commit_after>require 'formula'

class Libstfl < Formula
  homepage 'http://www.clifford.at/stfl/'
  url 'http://www.clifford.at/stfl/stfl-0.22.tar.gz'
  sha1 '226488be2b33867dfb233f0fa2dde2d066e494bd'

  depends_on :python => :recommended
  depends_on 'swig' => :build

  patch :DATA

{'fraction_non_alphanumeric': 0.1331168831168831, 'fraction_numerical': 0.09090909090909091, 'mean_word_length': 4.508928571428571, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '3663747', 'n_tokens_mistral': 293, 'n_tokens_neox': 261, 'n_words': 43}