<commit_before>module BackgroundRemover
  @path = "./"

  # @path_original = nil
  # @path_finalize = nil

  class << self
    attr_accessor :path # :path_original, :path_finalize
  end

  def self.processor(img, flag=nil)
    if flag.nil?
      BackgroundRemover::Processor.new(img, @path)
    else
      BackgroundRemover::Processor_with_flag.new(img, flag, @path)
    end
  end

  # def self.loader(link)
  #   img = BackgroundRemover::Loader.new(link, @path_original)
  #   self.processor(img)
  # end
end<commit_msg>change comment<commit_after>module BackgroundRemover
  @path = "./"

  # @path_original = nil
  # @path_finalize = nil

  class << self
    attr_accessor :path 
    # :path_original, :path_finalize
  end

  def self.processor(img, flag=nil)
    if flag.nil?
      BackgroundRemover::Processor.new(img, @path)
    else
      BackgroundRemover::Processor_with_flag.new(img, flag, @path)
    end
  end

  # def self.loader(link)
  #   img = BackgroundRemover::Loader.new(link, @path_original)
  #   self.processor(img)
  # end
end
{'fraction_non_alphanumeric': 0.1183206106870229, 'fraction_numerical': 0.0, 'mean_word_length': 3.4638297872340424, 'pattern_counts': {'":': 0, '<': 7, '<?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': '650456', 'n_tokens_mistral': 367, 'n_tokens_neox': 357, 'n_words': 70}