<commit_before>cask 'textsoap' do
  version '8.3.4'
  sha256 '6578d77c28affcc8791bddacc34eadc505b9679ecb8dcaf03589a062313d2e6a'

  # unmarked.s3.amazonaws.com was verified as official when first introduced to the cask
  url "https://unmarked.s3.amazonaws.com/textsoap#{version.major}.zip"
  appcast "https://unmarked.s3.amazonaws.com/appcast/textsoap#{version.major}.xml",
          checkpoint: '8fcfec9b49a1840bf0119925a6a5bb0d13850593901a340b07e5fe5f059f8b72'
  name 'TextSoap'
  homepage 'https://www.unmarked.com/textsoap/'

  app "textsoap#{version.major}.app"

  postflight do
    suppress_move_to_applications
  end
end<commit_msg>Add zap stanza to textsoap (#33438)<commit_after>cask 'textsoap' do
  version '8.3.4'
  sha256 '6578d77c28affcc8791bddacc34eadc505b9679ecb8dcaf03589a062313d2e6a'

  # unmarked.s3.amazonaws.com was verified as official when first introduced to the cask
  url "https://unmarked.s3.amazonaws.com/textsoap#{version.major}.zip"
  appcast "https://unmarked.s3.amazonaws.com/appcast/textsoap#{version.major}.xml",
          checkpoint: '8fcfec9b49a1840bf0119925a6a5bb0d13850593901a340b07e5fe5f059f8b72'
  name 'TextSoap'
  homepage 'https://www.unmarked.com/textsoap/'

  app "textsoap#{version.major}.app"

  postflight do
    suppress_move_to_applications
  end

  zap delete: [
                '~/Library/Application Support/TextSoap',
                "~/Library/Application Support/com.unmarked.textsoap#{version.major}",
                "~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/com.unmarked.textsoap#{version.major}.help",
                "~/Library/Caches/com.unmarked.textsoap#{version.major}",
                "~/Library/Cookies/com.unmarked.textsoap#{version.major}.binarycookies",
                "~/Library/Preferences/com.unmarked.textsoap#{version.major}.plist",
                "~/Library/Saved Application State/com.unmarked.textsoap#{version.major}.savedState",
              ]
end
{'fraction_non_alphanumeric': 0.11914460285132383, 'fraction_numerical': 0.09012219959266803, 'mean_word_length': 3.863861386138614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '1020513', 'n_tokens_mistral': 810, 'n_tokens_neox': 711, 'n_words': 87}