<commit_before>require 'rdf/bert'
require 'rdf/spec'

Spec::Runner.configure do |config|
  config.include(RDF::Spec::Matchers)
end<commit_msg>Updated the spec helper for RSpec 2.x compatibility.<commit_after>require 'rdf/bert'
require 'rdf/spec'

RSpec.configure do |config|
  config.include(RDF::Spec::Matchers)
  config.exclusion_filter = {:ruby => lambda { |version|
    RUBY_VERSION.to_s !~ /^#{version}/
  }}
end
{'fraction_non_alphanumeric': 0.1486810551558753, 'fraction_numerical': 0.002398081534772182, 'mean_word_length': 5.634920634920635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2599078', 'n_tokens_mistral': 151, 'n_tokens_neox': 147, 'n_words': 30}