<commit_before>= Unicode Utils - Unicode algorithms for Ruby 1.9

Install with RubyGems:

    gem install unicode_utils

Or get the source from Github: http://github.com/lang/unicode_utils

UnicodeUtils works with Ruby 1.9.1-preview1 or later. Though a bug
(http://redmine.ruby-lang.org/issues/show/692) in
1.9.1-preview1 prevents UnicodeUtils from loading when
Encoding.default_internal is set (e.g. with -U or -E).

== Synopsis

    require "unicode_utils"

    UnicodeUtils.char_name("æ") => "LATIN SMALL LETTER AE"
    
    UnicodeUtils.upcase("weiß") => "WEISS"

    UnicodeUtils.upcase("i", :tr) => "İ"

    UnicodeUtils.downcase("Ümit") => "ümit"

    UnicodeUtils.nfkc("ﬁ") => "fi"

Start with the UnicodeUtils module in the API documentation for
complete documentation.

Since some functions need significant amounts of data that is loaded<commit_msg>officially supported is 1.9.1-preview2 or later<commit_after>= Unicode Utils - Unicode algorithms for Ruby 1.9

Install with RubyGems:

    gem install unicode_utils

Or get the source from Github: http://github.com/lang/unicode_utils

UnicodeUtils works with Ruby 1.9.1-preview2 or later.

== Synopsis

    require "unicode_utils"

    UnicodeUtils.char_name("æ") => "LATIN SMALL LETTER AE"
    
    UnicodeUtils.upcase("weiß") => "WEISS"

    UnicodeUtils.upcase("i", :tr) => "İ"

    UnicodeUtils.downcase("Ümit") => "ümit"

    UnicodeUtils.nfkc("ﬁ") => "fi"

Start with the UnicodeUtils module in the API documentation for
complete documentation.

Since some functions need significant amounts of data that is loaded
{'fraction_non_alphanumeric': 0.10436432637571158, 'fraction_numerical': 0.01454775458570525, 'mean_word_length': 3.9905362776025237, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '6379328', 'n_tokens_mistral': 528, 'n_tokens_neox': 491, 'n_words': 159}