<commit_before>#include "Parser.h"

using namespace EpisodesParser;

int main(int argc, char *argv[]) {
    Parser * parser;
    parser = new Parser();
    parser->parse("/Users/wimleers/School/masterthesis/logs/driverpacks.net.episodes.log");
}


<commit_msg>Added timer to see how long parsing takes.<commit_after>#include "Parser.h"

using namespace EpisodesParser;

int main(int argc, char *argv[]) {
    QTextStream cout(stdout);
    QTextStream cerr(stderr);
    Parser * parser;
    QTime timer;


    parser = new Parser();

    timer.start();
    parser->parse("/Users/wimleers/School/masterthesis/logs/driverpacks.net.episodes.log");
    cout << QString("Duration: %1 ms.").arg(timer.elapsed()) << endl;
}



{'fraction_non_alphanumeric': 0.14763231197771587, 'fraction_numerical': 0.001392757660167131, 'mean_word_length': 3.9930555555555554, 'pattern_counts': {'":': 0, '<': 7, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5872399', 'n_tokens_mistral': 248, 'n_tokens_neox': 235, 'n_words': 51}