The fstrcmp library provides an fstrcmp function that returns a number between 0.0 (nothing alike) and 1.0 (identical); this can be used to suggest likely alternatives in error messages. Fuzzy comparisons for byte arrays, wide character strings, and multi-byte character strings are also available. In addition, there are integer alternatives for systems with slow floating point emulation.
MightyString adds array functionality and other tools for Ruby strings, including matching, indexing, substitution, and deletion. MightyString::HTML.strip_html provides more ideal HTML-to-ASCII formatting output. This is an advanced block "filtering" module. It works very well, with extremely rare cases which fall through its fingers.