<commit_before>require 'formula'

class Fiwalk < Formula
  url 'http://afflib.org/downloads/fiwalk-0.6.16.tar.gz'
  homepage 'http://afflib.org/software/fiwalk'
  md5 '282925766aa0e7ca7c5b894d28e0c9ee'

  depends_on 'sleuthkit'
  depends_on 'afflib' => :optional
  depends_on 'exiv2' => :optional

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
    (share+name).mkpath
<commit_msg>fiwalk: update download location<commit_after>require 'formula'

class Fiwalk < Formula
  homepage 'http://afflib.org/software/fiwalk'
  url 'https://github.com/downloads/kfairbanks/sleuthkit/fiwalk-0.6.16.tar.gz'
  sha1 '36ba2e97a201cd240fc7187185f07a5c56ee1982'

  depends_on 'sleuthkit'
  depends_on 'afflib' => :optional
  depends_on 'exiv2' => :optional

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
    (share+name).mkpath

{'fraction_non_alphanumeric': 0.13564356435643565, 'fraction_numerical': 0.05841584158415842, 'mean_word_length': 3.4342105263157894, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5957310', 'n_tokens_mistral': 391, 'n_tokens_neox': 357, 'n_words': 61}