<commit_before>require 'formula'

class Mosml < Formula
  version '2.01'
  url 'http://www.itu.dk/people/sestoft/mosml/mos201src.tar.gz'
  homepage 'http://www.itu.dk/people/sestoft/mosml.html'
  md5 '74aaaf988201fe92a9dbfbcb1e646f70'

  def install
    cd "src"

    inreplace "Makefile.inc" do |s|
      s.change_make_var! 'MOSMLHOME', prefix
      s.gsub! '/lib/cpp', '/usr/bin/cpp'
      s.change_make_var! 'DOCDIR', doc
      s.change_make_var! 'LIBDIR', lib+'mosml'
      s.change_make_var! 'TOOLDIR', lib+'mosml'
    end

    system "make"
    system "make install"
  end
end
<commit_msg>Half-fix MOSML<commit_after>require 'formula'

class Mosml < Formula
  version '2.01'
  url 'http://www.itu.dk/people/sestoft/mosml/mos201src.tar.gz'
  homepage 'http://www.itu.dk/people/sestoft/mosml.html'
  md5 '74aaaf988201fe92a9dbfbcb1e646f70'

  def install
    cd "src"

    inreplace "Makefile.inc" do |s|
      s.change_make_var! 'MOSMLHOME', prefix
      s.change_make_var! 'DOCDIR', doc
      s.change_make_var! 'LIBDIR', lib+'mosml'
      s.change_make_var! 'TOOLDIR', lib+'mosml'
    end

    system "make", "CPP=cpp"
    system "make install"
  end
end

{'fraction_non_alphanumeric': 0.13867355727820843, 'fraction_numerical': 0.041343669250646, 'mean_word_length': 3.2878228782287824, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6577998', 'n_tokens_mistral': 507, 'n_tokens_neox': 476, 'n_words': 87}