<commit_before>require "nokogiri"

module Deba
  VERSION = "0.3.0"
end

require "deba/utils"
require "deba/stringifier"
require "deba/document"
require "deba/break"
require "deba/heading"
require "deba/paragraph"
require "deba/text_runner"
require "deba/extractor"

module Deba
  def self.extract(html)
    Deba::Extractor.new(html.is_a?(Nokogiri::XML::Node) ? html : Nokogiri.HTML(html)).extract
  end
end<commit_msg>Bump version<commit_after>require "nokogiri"

module Deba
  VERSION = "0.4.0"
end

require "deba/utils"
require "deba/stringifier"
require "deba/document"
require "deba/break"
require "deba/heading"
require "deba/paragraph"
require "deba/text_runner"
require "deba/extractor"

module Deba
  def self.extract(html)
    Deba::Extractor.new(html.is_a?(Nokogiri::XML::Node) ? html : Nokogiri.HTML(html)).extract
  end
end
{'fraction_non_alphanumeric': 0.1341317365269461, 'fraction_numerical': 0.00718562874251497, 'mean_word_length': 5.634920634920635, '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': '558627', 'n_tokens_mistral': 323, 'n_tokens_neox': 322, 'n_words': 64}