<commit_before>#include <stdio.h>
#include <string.h>
#include <parser.h>
#include <glib.h>

#include "config.h"

typedef struct {
  gchar *name;
  GSList *srcpads;
  GSList *sinkpads;
  GSList *srcpadtemplates;
  GSList *sinkpadtemplates;
  GSList *arguments;
} comp_element;
<commit_msg>now builds for those who are too lazy to upgrade their xml libraries<commit_after>#include <stdio.h>
#include <string.h>
#include <parser.h> // NOTE: this is xml-config's fault

// Include compatability defines: if libxml hasn't already defined these,
// we have an old version 1.x
#ifndef xmlChildrenNode
#define xmlChildrenNode childs
#define xmlRootNode root
#endif

#include <glib.h>

#include "config.h"

typedef struct {
  gchar *name;
  GSList *srcpads;
  GSList *sinkpads;
  GSList *srcpadtemplates;
  GSList *sinkpadtemplates;
  GSList *arguments;
} comp_element;

{'fraction_non_alphanumeric': 0.10788863109048724, 'fraction_numerical': 0.001160092807424594, 'mean_word_length': 4.870748299319728, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '5801661', 'n_tokens_mistral': 321, 'n_tokens_neox': 300, 'n_words': 91}