<commit_before>﻿using System;
using System.Threading;


namespace ExaminingConsole
{
    public static class Exploration
    {
        public static void SubMain()
        {
            Exploration.RedirectStandardInput();
            //Exploration.TryConsoleKeyEvents();

            Explorations.FileProcessor.SubMain();
        }

        private static void TryConsoleKeyEvents()
        {
            Console.WriteLine("Press CTRL+C or CTRL+Break to Exit");
            ConsoleKeyEvents.CancelKeyPress += (sender, e) =>
            {
                Console.WriteLine("Exiting...");
                Environment.Exit(0);
            };<commit_msg>ExaminingConsole - Used the ConsoleKeyEvents class.<commit_after>﻿using System;
using System.IO;
using System.Threading;


namespace ExaminingConsole
{
    public static class Exploration
    {
        public static void SubMain()
        {
            //Exploration.RedirectStandardInput();
            //Exploration.TryConsoleKeyEvents();

            Explorations.FileProcessor.SubMain();
        }

        private static void TryConsoleKeyEvents()
        {
            Console.WriteLine("Press CTRL+C or CTRL+Break to Exit");
            ConsoleKeyEvents.CancelKeyPress += (sender, e) =>
            {
                Console.WriteLine("Exiting...");
                Environment.Exit(0);
            };
{'fraction_non_alphanumeric': 0.09713024282560706, 'fraction_numerical': 0.0014716703458425313, 'mean_word_length': 1.9759299781181618, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7592902', 'n_tokens_mistral': 347, 'n_tokens_neox': 329, 'n_words': 70}