<commit_before>cask "babeledit" do
  version "2.8.0"
  sha256 "4bbd8612c10aa70eab9451b4b9c266b0f313d5e54b7b8768a8d778623e510e82"

  url "https://www.codeandweb.com/download/babeledit/#{version}/BabelEdit-#{version}.dmg"
  appcast "https://www.codeandweb.com/babeledit/download",
          must_contain: version
  name "BabelEdit"
  homepage "https://www.codeandweb.com/babeledit"

  app "BabelEdit.app"

  zap trash: "~/Library/Preferences/de.code-and-web.BabelEdit.plist"
end<commit_msg>babeledit: add livecheck (#103646)<commit_after>cask "babeledit" do
  version "2.8.0"
  sha256 "4bbd8612c10aa70eab9451b4b9c266b0f313d5e54b7b8768a8d778623e510e82"

  url "https://www.codeandweb.com/download/babeledit/#{version}/BabelEdit-#{version}.dmg"
  name "BabelEdit"
  desc "Translation editor"
  homepage "https://www.codeandweb.com/babeledit"

  livecheck do
    url "https://www.codeandweb.com/babeledit/download"
    strategy :page_match
    regex(/BabelEdit-(\d+(?:\.\d+)*)\.dmg/i)
  end

  app "BabelEdit.app"

  zap trash: "~/Library/Preferences/de.code-and-web.BabelEdit.plist"
end
{'fraction_non_alphanumeric': 0.14510166358595195, 'fraction_numerical': 0.09426987060998152, 'mean_word_length': 4.61139896373057, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7203441', 'n_tokens_mistral': 507, 'n_tokens_neox': 442, 'n_words': 55}