<commit_before>require 'iiif/from_the_page_file_resolver'
#Riiif::Image.file_resolver.base_path = '/home/benwbrum/dev/products/fromthepage/fromthepage/public/images/working/71'#'/opt/repository/images/'

Riiif::Image.file_resolver = Riiif::FromThePageFileResolver.new
<commit_msg>Change riiif initializer for #2271<commit_after>require 'iiif/from_the_page_file_resolver'
#Riiif::Image.file_resolver.base_path = '/home/benwbrum/dev/products/fromthepage/fromthepage/public/images/working/71'#'/opt/repository/images/'

ActiveSupport::Reloader.to_prepare do
  Riiif::Image.file_resolver = Riiif::FromThePageFileResolver.new
end
{'fraction_non_alphanumeric': 0.1282051282051282, 'fraction_numerical': 0.01282051282051282, 'mean_word_length': 8.469696969696969, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2946681', 'n_tokens_mistral': 234, 'n_tokens_neox': 227, 'n_words': 19}