<commit_before>#include <stdio.h>

#include "core/options.h"
#include "core/scanner.h"
#include "core/filter.h"
#include "core/log.h"

struct program program = {
  .name = "filter",
  .info = "cleans text, peforms stemming stopword removal",
  .commands = {
    { .args = "TEXTFILE..." },
    { NULL },
  },
};

int
main (int argc, char **argv)
{
  struct scanner *s;
  char b[8192] = { 0 };<commit_msg>spelling<commit_after>#include <stdio.h>

#include "core/options.h"
#include "core/scanner.h"
#include "core/filter.h"
#include "core/log.h"

struct program program = {
  .name = "filter",
  .info = "cleans text, peforms stemming and stopword removal",
  .commands = {
    { .args = "TEXTFILE..." },
    { NULL },
  },
};

int
main (int argc, char **argv)
{
  struct scanner *s;
  char b[8192] = { 0 };
{'fraction_non_alphanumeric': 0.18385093167701863, 'fraction_numerical': 0.012422360248447204, 'mean_word_length': 3.2872340425531914, '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': '1010483', 'n_tokens_mistral': 315, 'n_tokens_neox': 302, 'n_words': 77}