<commit_before>unless $:.include?( File.dirname(__FILE__) ) || $:.include?( File.expand_path( File.dirname(__FILE__) ) )
  $:.unshift(File.dirname(__FILE__))
end

require 'set'
#require 'extlib'
require 'pathname'
require 'json'

require 'active_support'
require 'active_support/inflector'
require 'active_model'

require 'redis'
#require 'redis/namespace'
require 'uuidtools'
#require 'validatable'

# Speed boost, and reduced memory leaks from standard ruby threading, if it's available: use it.
begin
  require 'fastthread'
rescue LoadError
  # fastthread not installed
end

module RedisGraph
  VERSION = '0.0.1'

  class RedisGraphError < StandardError<commit_msg>Tidy up some old dependencies<commit_after>unless $:.include?( File.dirname(__FILE__) ) || $:.include?( File.expand_path( File.dirname(__FILE__) ) )
  $:.unshift(File.dirname(__FILE__))
end

require 'set'
require 'pathname'
require 'json'

require 'active_support'
require 'active_support/inflector'
require 'active_model'

require 'redis'
#require 'redis/namespace'
require 'uuidtools'

# Speed boost, and reduced memory leaks from standard ruby threading, if it's available: use it.
begin
  require 'fastthread'
rescue LoadError
  # fastthread not installed
end

module RedisGraph
  VERSION = '0.0.1'

  class RedisGraphError < StandardError
{'fraction_non_alphanumeric': 0.11136536994660565, 'fraction_numerical': 0.004576659038901602, 'mean_word_length': 5.7979274611398965, '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': '7176503', 'n_tokens_mistral': 424, 'n_tokens_neox': 411, 'n_words': 121}