<commit_before>#include "MainView.h"

MainView::MainView(const BRect &frame)
	:	BView(frame, "textview", B_FOLLOW_ALL, B_WILL_DRAW)
{
	// the font rasterizing library
    FreeTypeLib lib;
    clock_t begin, end;

    HBShaper latinShaper("DejaVuSerif.ttf", &lib);
    HBShaper arabicShaper("amiri-regular.ttf", &lib);
    HBShaper russianShaper("DejaVuSerif.ttf", &lib);
    HBShaper hanShaper("fireflysung.ttf", &lib);
    HBShaper hindiShaper("Sanskrit2003.ttf", &lib);

    latinShaper.init();
    arabicShaper.init();
    russianShaper.init();
    hanShaper.init();
    hindiShaper.init();

    HBText hbt1 = {
        "ficellé fffffi. VAV.",<commit_msg>Commented clock_t<commit_after>#include "MainView.h"

MainView::MainView(const BRect &frame)
	:	BView(frame, "textview", B_FOLLOW_ALL, B_WILL_DRAW)
{
	// the font rasterizing library
    FreeTypeLib lib;
    //clock_t begin, end;

    HBShaper latinShaper("DejaVuSerif.ttf", &lib);
    HBShaper arabicShaper("amiri-regular.ttf", &lib);
    HBShaper russianShaper("DejaVuSerif.ttf", &lib);
    HBShaper hanShaper("fireflysung.ttf", &lib);
    HBShaper hindiShaper("Sanskrit2003.ttf", &lib);

    latinShaper.init();
    arabicShaper.init();
    russianShaper.init();
    hanShaper.init();
    hindiShaper.init();

    HBText hbt1 = {
        "ficellé fffffi. VAV.",
{'fraction_non_alphanumeric': 0.1437216338880484, 'fraction_numerical': 0.007564296520423601, 'mean_word_length': 4.049618320610687, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3769936', 'n_tokens_mistral': 552, 'n_tokens_neox': 533, 'n_words': 86}