<commit_before>require 'formula'

class Geomview < Formula
  homepage 'http://www.geomview.org'
  url 'https://downloads.sourceforge.net/project/geomview/geomview/1.9.4/geomview-1.9.4.tar.gz'
  sha1 'b5e04dfee5cef46655766c2456199905832cd45c'

  depends_on :x11
  depends_on 'lesstif'

  # Per MacPorts: https://trac.macports.org/ticket/35856
  def patches
    DATA
  end<commit_msg>geomview: use patch DSL<commit_after>require 'formula'

class Geomview < Formula
  homepage 'http://www.geomview.org'
  url 'https://downloads.sourceforge.net/project/geomview/geomview/1.9.4/geomview-1.9.4.tar.gz'
  sha1 'b5e04dfee5cef46655766c2456199905832cd45c'

  depends_on :x11
  depends_on 'lesstif'

  # Per MacPorts: https://trac.macports.org/ticket/35856
  patch :DATA
{'fraction_non_alphanumeric': 0.12384716732542819, 'fraction_numerical': 0.1080368906455863, 'mean_word_length': 4.428571428571429, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4596166', 'n_tokens_mistral': 363, 'n_tokens_neox': 319, 'n_words': 44}