<commit_before>require 'rubygems'

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'libxml/ext'

unless Object.const_defined?(:DOC)
  DOC = LibXML::XML::Document.file(File.join(File.dirname(__FILE__), 'hamlet.xml'))
end<commit_msg>spec/: Prepare for RSpec 3.<commit_after>require 'rubygems'

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'libxml/ext'

unless Object.const_defined?(:DOC)
  DOC = LibXML::XML::Document.file(File.join(File.dirname(__FILE__), 'hamlet.xml'))
end

RSpec.configure { |config|
  config.expect_with(:rspec) { |c| c.syntax = [:should, :expect] }
}
{'fraction_non_alphanumeric': 0.200652528548124, 'fraction_numerical': 0.0016313213703099511, 'mean_word_length': 6.397590361445783, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2839029', 'n_tokens_mistral': 237, 'n_tokens_neox': 229, 'n_words': 34}