<commit_before>#!/usr/bin/ruby
# Author: <NAME>
# Date: 2009
# License: GPL3
# Program Name: AEX (Auto-EXtractor)
# Description: Unarchive an archive based on its file extension in an intelligent way

#==================#
# Global variables #
#==================#
Clron = "\e[1;38;5;159m"
Clrof = "\e[0m"

#==============================================#
# Pretty string colors (ANSI escape sequences) #
#==============================================#
def aex_msg(dir_new, dir_predefined)
    if dir_new.empty?
        if File.exists?(dir_predefined) && File.directory?(dir_predefined)
            puts"#{Clron} --[ aex: Cancelling extraction because \`./#{dir_predefined}\' already exists ]--#{Clrof}"
        else
            puts "#{Clron} ,--[ aex: Extracting archive to \`./#{dir_predefined}\' ]--#{Clrof}"
        end
    else
        if File.exists?(dir_new) && File.directory?(dir_new)
            puts"#{Clron} --[ aex: Cancelling extraction because \`./#{dir_new}\' already exists ]--#{Clrof}"
        else<commit_msg>aex: comments: tiny change<commit_after>#!/usr/bin/ruby
# Author: <NAME> (C) 2009
# License: GPL3
# Program Name: AEX (Auto-EXtractor)
# Description: Unarchive an archive based on its file extension in an intelligent way

#==================#
# Global variables #
#==================#
Clron = "\e[1;38;5;159m"
Clrof = "\e[0m"

#==============================================#
# Pretty string colors (ANSI escape sequences) #
#==============================================#
def aex_msg(dir_new, dir_predefined)
    if dir_new.empty?
        if File.exists?(dir_predefined) && File.directory?(dir_predefined)
            puts"#{Clron} --[ aex: Cancelling extraction because \`./#{dir_predefined}\' already exists ]--#{Clrof}"
        else
            puts "#{Clron} ,--[ aex: Extracting archive to \`./#{dir_predefined}\' ]--#{Clrof}"
        end
    else
        if File.exists?(dir_new) && File.directory?(dir_new)
            puts"#{Clron} --[ aex: Cancelling extraction because \`./#{dir_new}\' already exists ]--#{Clrof}"
        else
{'fraction_non_alphanumeric': 0.2680212868892114, 'fraction_numerical': 0.012578616352201259, 'mean_word_length': 3.732265446224256, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3184249', 'n_tokens_mistral': 674, 'n_tokens_neox': 663, 'n_words': 156}