<commit_before># coding: utf-8

require 'forwardable'
require 'date'

require 'necromancer/conversions'
require 'necromancer/context'
require 'necromancer/converter'
require 'necromancer/null_converter'
require 'necromancer/converters/array'
require 'necromancer/converters/boolean'
require 'necromancer/converters/date_time'
require 'necromancer/converters/numeric'
require 'necromancer/converters/range'
require 'necromancer/conversion_target'
require 'necromancer/version'

module Necromancer
  # Raised when cannot conver to a given type
  ConversionTypeError = Class.new(StandardError)

  # Raised when conversion type is not available
  NoTypeConversionAvailableError = Class.new(StandardError)

  # Create a conversion instance
  #
  # @example
  #   converter = Necromancer.new
  #
  # @return [Context]
  #
  # @api private
  def new
    Context.new
  end<commit_msg>Add set requirement.<commit_after># coding: utf-8

require 'forwardable'
require 'date'
require 'set'

require 'necromancer/conversions'
require 'necromancer/context'
require 'necromancer/converter'
require 'necromancer/null_converter'
require 'necromancer/converters/array'
require 'necromancer/converters/boolean'
require 'necromancer/converters/date_time'
require 'necromancer/converters/numeric'
require 'necromancer/converters/range'
require 'necromancer/conversion_target'
require 'necromancer/version'

module Necromancer
  # Raised when cannot conver to a given type
  ConversionTypeError = Class.new(StandardError)

  # Raised when conversion type is not available
  NoTypeConversionAvailableError = Class.new(StandardError)

  # Create a conversion instance
  #
  # @example
  #   converter = Necromancer.new
  #
  # @return [Context]
  #
  # @api private
  def new
    Context.new
  end
{'fraction_non_alphanumeric': 0.08516638465877044, 'fraction_numerical': 0.0011280315848843769, 'mean_word_length': 5.335714285714285, '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': '2532190', 'n_tokens_mistral': 590, 'n_tokens_neox': 557, 'n_words': 135}