<commit_before>// Copyright 2015/2016 Yahoo Inc.
// Licensed under the BSD license, see LICENSE file for terms.
// Written by <NAME>

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <curl/curl.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sched.h>
#include <netdb.h>
#include <netinet/in.h>
#include <uv.h>
#include <sstream>
#include <fstream>
#include <iostream>
#include <vector>
#include <map>
#include <regex>
#include <thread>
#include <string>
#include <cstdlib>

#include "mathilda_fork.h"

using namespace std;

#define MATHILDA_LIB_VERSION 1.5
#define OK 0
#define ERR -1
#define SHM_SIZE 1000000*16

static const char *default_ua = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36";

/// Response structure
/// The structure returned upon every
/// successful HTTP request
struct Response {
	char *text;
	size_t size;
};

class Mathilda;<commit_msg>remove unused regex header<commit_after>// Copyright 2015/2016 Yahoo Inc.
// Licensed under the BSD license, see LICENSE file for terms.
// Written by <NAME>

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <curl/curl.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sched.h>
#include <netdb.h>
#include <netinet/in.h>
#include <uv.h>
#include <sstream>
#include <fstream>
#include <iostream>
#include <vector>
#include <map>
#include <thread>
#include <string>
#include <cstdlib>

#include "mathilda_fork.h"

using namespace std;

#define MATHILDA_LIB_VERSION 1.5
#define OK 0
#define ERR -1
#define SHM_SIZE 1000000*16

static const char *default_ua = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36";

/// Response structure
/// The structure returned upon every
/// successful HTTP request
struct Response {
	char *text;
	size_t size;
};

class Mathilda;
{'fraction_non_alphanumeric': 0.14519140989729226, 'fraction_numerical': 0.04481792717086835, 'mean_word_length': 4.729946524064171, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 52, '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': '2431304', 'n_tokens_mistral': 866, 'n_tokens_neox': 782, 'n_words': 236}