<commit_before><commit_msg>ndiff 2.00<commit_after>require 'formula'

class Ndiff < Formula
  homepage 'http://www.math.utah.edu/~beebe/software/ndiff/'
  url 'ftp://ftp.math.utah.edu/pub/misc/ndiff-2.00.tar.gz'
  md5 '885548b4dc26e72c5455bebb5ba6c16d'

  def install
    ENV.j1
    # Install manually as the `install` make target is crufty
    system "./configure", "--prefix=.", "--mandir=."
    mkpath 'bin'
    mkpath 'man/man1'
    system "make install"
    bin.install "bin/ndiff"
    man1.install "man/man1/ndiff.1"
  end

  def test
    system "#{bin}/ndiff --help"
  end
end
{'fraction_non_alphanumeric': 0.14922813036020582, 'fraction_numerical': 0.05317324185248713, 'mean_word_length': 3.0839160839160837, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '5955793', 'n_tokens_mistral': 247, 'n_tokens_neox': 226, 'n_words': 47}