<commit_before>require 'formula'

class Blahtexml < Formula
  homepage 'http://gva.noekeon.org/blahtexml/'
  url 'http://gva.noekeon.org/blahtexml/blahtexml-0.9-src.tar.gz'
  md5 'ed790599223c2f8f6d205be8988882de'

  depends_on 'xerces-c'

  def install
    system "make blahtex-mac blahtexml-mac"
    bin.install 'blahtex', 'blahtexml'<commit_msg>blahtexml: add --only-blahtex option<commit_after>require 'formula'

class Blahtexml < Formula
  homepage 'http://gva.noekeon.org/blahtexml/'
  url 'http://gva.noekeon.org/blahtexml/blahtexml-0.9-src.tar.gz'
  md5 'ed790599223c2f8f6d205be8988882de'

  depends_on 'xerces-c' unless ARGV.include? '--blahtex-only'

  def options
    [['--blahtex-only', "Build only blahtex, not blahtexml"]]
  end


  def install
    system "make blahtex-mac"
    bin.install 'blahtex'
    unless ARGV.include? '--blahtex-only'
      system "make blahtexml-mac"
      bin.install 'blahtexml'
    end
{'fraction_non_alphanumeric': 0.13038793103448276, 'fraction_numerical': 0.05387931034482758, 'mean_word_length': 3.739795918367347, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, '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': '7432569', 'n_tokens_mistral': 448, 'n_tokens_neox': 402, 'n_words': 65}