<commit_before>require 'active_support/core_ext/array/conversions'

require 'tags/tags'
require 'ruby-bbcode/debugging'
require 'ruby-bbcode/tag_info'
require 'ruby-bbcode/tag_sifter'
require 'ruby-bbcode/tag_node'
require 'ruby-bbcode/tag_collection'
require 'ruby-bbcode/bbtree'

module RubyBBCode
  include ::RubyBBCode::Tags

  # FIXME:  This needs documentation
  def self.to_html(text, escape_html = true, additional_tags = {}, method = :disable, *tags)
    text = text.clone
    
    use_tags = determine_applicable_tags(additional_tags, method, *tags)<commit_msg>comment typo.<commit_after>require 'active_support/core_ext/array/conversions'

require 'tags/tags'
require 'ruby-bbcode/debugging'
require 'ruby-bbcode/tag_info'
require 'ruby-bbcode/tag_sifter'
require 'ruby-bbcode/tag_node'
require 'ruby-bbcode/tag_collection'
require 'ruby-bbcode/bbtree'

module RubyBBCode
  include ::RubyBBCode::Tags

  # FIXME:  The params need documentation
  def self.to_html(text, escape_html = true, additional_tags = {}, method = :disable, *tags)
    text = text.clone
    
    use_tags = determine_applicable_tags(additional_tags, method, *tags)
{'fraction_non_alphanumeric': 0.11072362685265912, 'fraction_numerical': 0.0, 'mean_word_length': 5.597701149425287, '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': '6494666', 'n_tokens_mistral': 402, 'n_tokens_neox': 378, 'n_words': 77}