<commit_before>class Latexdiff < Formula
  desc "Compare and mark up LaTeX file differences"
  homepage "https://www.ctan.org/pkg/latexdiff"
  url "https://github.com/ftilmann/latexdiff/releases/download/1.3.1/latexdiff-1.3.1.tar.gz"
  sha256 "2643355a4528bf6e4578741ec15af41089be0183dbc2be6799bc418491833a41"

  bottle do
    cellar :any_skip_relocation
    sha256 "cb8350fd28f971f1aaef0835424bc396ab51fc0dafdbaed2bfb59347b231b7e9" => :catalina
    sha256 "cb8350fd28f971f1aaef0835424bc396ab51fc0dafdbaed2bfb59347b231b7e9" => :mojave
    sha256 "cb8350fd28f971f1aaef0835424bc396ab51fc0dafdbaed2bfb59347b231b7e9" => :high_sierra
  end

  # osx default perl cause compilation error
  depends_on "perl"

  def install
    bin.install %w[latexdiff-fast latexdiff-so latexdiff-vc latexrevise]
    man1.install %w[latexdiff-vc.1 latexdiff.1 latexrevise.1]
    doc.install Dir["doc/*"]
    pkgshare.install %w[contrib example]
<commit_msg>latexdiff 1.3.1.1<commit_after>class Latexdiff < Formula
  desc "Compare and mark up LaTeX file differences"
  homepage "https://www.ctan.org/pkg/latexdiff"
  url "https://github.com/ftilmann/latexdiff/releases/download/1.3.1.1/latexdiff-1.3.1.1.tar.gz"
  sha256 "5e55ee205750ccbea8d69cf98791707e7a42ab88e92d3a1101f9de53643aa1d3"

  bottle do
    cellar :any_skip_relocation
    sha256 "cb8350fd28f971f1aaef0835424bc396ab51fc0dafdbaed2bfb59347b231b7e9" => :catalina
    sha256 "cb8350fd28f971f1aaef0835424bc396ab51fc0dafdbaed2bfb59347b231b7e9" => :mojave
    sha256 "cb8350fd28f971f1aaef0835424bc396ab51fc0dafdbaed2bfb59347b231b7e9" => :high_sierra
  end

  # osx default perl cause compilation error
  depends_on "perl"

  def install
    bin.install %w[latexdiff-fast latexdiff-so latexdiff-vc latexrevise]
    man1.install %w[latexdiff-vc.1 latexdiff.1 latexrevise.1]
    doc.install Dir["doc/*"]
    pkgshare.install %w[contrib example]

{'fraction_non_alphanumeric': 0.08911419423692636, 'fraction_numerical': 0.1814300960512273, 'mean_word_length': 5.229235880398671, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 3, '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': '1506928', 'n_tokens_mistral': 976, 'n_tokens_neox': 796, 'n_words': 111}