<commit_before>#include <stdio.h>
#include "CompilerKit.h"

int main (int argc, char ** argv)
{
    CompilerKitFSM* fsm;
    g_type_init();
    
    fsm = compilerkit_FSM_new();

    compilerkit_FSM_set_start_state (fsm, "A");
    compilerkit_FSM_add_transition (fsm, "A", "B", 'd');
    compilerkit_FSM_add_transition (fsm, "B", "C", 'e');
    compilerkit_FSM_add_transition (fsm, "C", "D", 'm');
    compilerkit_FSM_add_transition (fsm, "D", "E", 'o');
    compilerkit_FSM_add_accepting_state (fsm, "E");
    
    g_assert (compilerkit_FSM_match (fsm, "demo"));
<commit_msg>Updated automata demo slightly.<commit_after>#include <stdio.h>
#include "CompilerKit.h"

int main (int argc, char ** argv)
{
    CompilerKitFSM* fsm;
    g_type_init();
    
    fsm = compilerkit_FSM_new();

    compilerkit_FSM_set_start_state (fsm, "A");
    compilerkit_FSM_add_transition (fsm, "A", "B", 'd');
    compilerkit_FSM_add_transition (fsm, "B", "C", 'e');
    compilerkit_FSM_add_transition (fsm, "C", "D", 'm');
    compilerkit_FSM_add_transition (fsm, "D", "E", 'o');
    compilerkit_FSM_add_accepting_state (fsm, "E");
    
    compilerkit_FSM_match (fsm, "demo");

{'fraction_non_alphanumeric': 0.16134598792062121, 'fraction_numerical': 0.0, 'mean_word_length': 4.576923076923077, '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': '4976999', 'n_tokens_mistral': 469, 'n_tokens_neox': 462, 'n_words': 92}