<commit_before>#!/usr/bin/ruby

module QtWebKit
    module Internal
        def self.init_all_classes
            Qt::Internal::add_normalize_proc(Proc.new do |classname|
                if classname =~ /^Qsci/
                    now = classname.sub(/^Qt?(?=[A-Z])/,'Qt::')
                end
                now
            end)
            getClassList.each do |c|
                classname = Qt::Internal::normalize_classname(c)
                id = Qt::Internal::findClass(c);
                Qt::Internal::insert_pclassid(classname, id)
                Qt::Internal::cpp_names[classname] = c
                klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
                                                    : Qt::Internal::create_qt_class(classname, Qt)
                Qt::Internal::classes[classname] = klass unless klass.nil?
            end
        end
    end
end<commit_msg>* Remove superfluous add_normalize_proc() code<commit_after>#!/usr/bin/ruby

module QtWebKit
    module Internal
        def self.init_all_classes
            getClassList.each do |c|
                classname = Qt::Internal::normalize_classname(c)
                id = Qt::Internal::findClass(c);
                Qt::Internal::insert_pclassid(classname, id)
                Qt::Internal::cpp_names[classname] = c
                klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
                                                    : Qt::Internal::create_qt_class(classname, Qt)
                Qt::Internal::classes[classname] = klass unless klass.nil?
            end
        end
    end
end
{'fraction_non_alphanumeric': 0.11137868753762793, 'fraction_numerical': 0.0, 'mean_word_length': 1.756218905472637, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4366856', 'n_tokens_mistral': 472, 'n_tokens_neox': 456, 'n_words': 78}