<commit_before>require "redis"
require 'twitter-bootstrap-rails'
require 'jquery-rails'
require 'jquery-ui-rails'
require "redis_dictionary/engine"
require "redis_dictionary/configuration"

module RedisDictionary
  # Exception raised when gem may not be configured properly
  class ConfigurationError < StandardError
  end

  # Set global configuration options for RedisDictionary
  # @see README.md
  def self.configure(&block)
    block.call(configuration)
  end

  # Returns RedisDictionary's globalconfiguration. Will initialize a new instance
  # if not already set
  def self.configuration
    @configuration ||= Configuration.new
  end

end<commit_msg>will_paginate was not properly initialised, closes #6<commit_after>require "redis"
require 'twitter-bootstrap-rails'
require 'jquery-rails'
require 'jquery-ui-rails'
require 'will_paginate'
require "redis_dictionary/engine"
require "redis_dictionary/configuration"

module RedisDictionary
  # Exception raised when gem may not be configured properly
  class ConfigurationError < StandardError
  end

  # Set global configuration options for RedisDictionary
  # @see README.md
  def self.configure(&block)
    block.call(configuration)
  end

  # Returns RedisDictionary's globalconfiguration. Will initialize a new instance
  # if not already set
  def self.configuration
    @configuration ||= Configuration.new
  end

end
{'fraction_non_alphanumeric': 0.06801736613603473, 'fraction_numerical': 0.000723589001447178, 'mean_word_length': 5.039301310043668, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7425376', 'n_tokens_mistral': 380, 'n_tokens_neox': 362, 'n_words': 121}