<commit_before>require 'formula'

class Psgrep < Formula
  url 'http://psgrep.googlecode.com/files/psgrep-1.0.6.tar.bz2'
  head 'http://psgrep.googlecode.com/svn/trunk/'
  homepage 'http://code.google.com/p/psgrep/'
  sha1 'fe1102546971358a5eff2cff613d70ee63395444'

  def install
    bin.install "psgrep"
    man1.install "psgrep.1"
  end
end<commit_msg>psgrep: Use hg repo for head.<commit_after>require 'formula'

class Psgrep < Formula
  url 'http://psgrep.googlecode.com/files/psgrep-1.0.6.tar.bz2'
  head 'http://psgrep.googlecode.com/hg/', :using => :hg
  homepage 'http://code.google.com/p/psgrep/'
  sha1 'fe1102546971358a5eff2cff613d70ee63395444'

  def install
    bin.install "psgrep"
    man1.install "psgrep.1"
  end
end
{'fraction_non_alphanumeric': 0.14168937329700274, 'fraction_numerical': 0.09536784741144415, 'mean_word_length': 3.8675496688741724, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6926822', 'n_tokens_mistral': 350, 'n_tokens_neox': 309, 'n_words': 48}