<commit_before>= DiffRenderer

DiffRenderer creates pretty HTML diffs for text and bits of html documents.

== Example Usage

  #!/usr/bin/ruby
  
  require 'rubygems'
  require 'diffrenderer'

  old_text = ['This was some text']
  new_text = ['This is some text']
  

  <p>
  This <span class="removed">was</span> <span class="added">is</span> some text
  </p>


See the examples directory for more details.

== Copyright

Copyright (c) 2009 Rattle http://www.rattlecentral.com. See LICENSE for details.<commit_msg>Tidying rdoc<commit_after>= DiffRenderer

DiffRenderer creates pretty HTML diffs for text and bits of html documents.

== Example Usage

  #!/usr/bin/ruby
  
  require 'rubygems'
  require 'diffrenderer'

  old_text = ['This was some text']
  new_text = ['This is some text']
  

Outputs :

  <p>
  This <span class="removed">was</span> <span class="added">is</span> some text
  </p>


See the examples directory for more details.

== Copyright

Copyright (c) 2009 Rattle http://www.rattlecentral.com. See LICENSE for details.
{'fraction_non_alphanumeric': 0.11420345489443379, 'fraction_numerical': 0.007677543186180422, 'mean_word_length': 3.8511627906976744, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '443901', 'n_tokens_mistral': 343, 'n_tokens_neox': 326, 'n_words': 115}