<commit_before>var util = require('util');
var EventEmitter = require('events');
var dgram = require('dgram');
var net = require('net');
var enet = require("enet");
var fs = require("fs");

var defs = require("./defs");
var time = require("./time");
var stream = require("./stream");

exports.defs = stream.defs;
exports.time = stream.time;
exports.stream = stream.stream;

function Client(opts) {
	EventEmitter.call(this);
	
	if (!opts.host) {
		this.emit("error", new Error("host not provided"));
		return;
	}
	if (!opts.port) opts.port = 28785;
	if (!opts.playerName) opts.playerName = "unnamed";
	if (!opts.password) opts.password = "";
	
	var self = this;
	
	var addr = new enet.Address(opts.host, opts.port);

	this.client = {};
	this.remote = {};<commit_msg>Fixed client exports.<commit_after>var util = require('util');
var EventEmitter = require('events');
var dgram = require('dgram');
var net = require('net');
var enet = require("enet");
var fs = require("fs");

var defs = require("./defs");
var time = require("./time");
var stream = require("./stream");

exports.defs = defs;
exports.time = time;
exports.stream = stream;

function Client(opts) {
	EventEmitter.call(this);
	
	if (!opts.host) {
		this.emit("error", new Error("host not provided"));
		return;
	}
	if (!opts.port) opts.port = 28785;
	if (!opts.playerName) opts.playerName = "unnamed";
	if (!opts.password) opts.password = "";
	
	var self = this;
	
	var addr = new enet.Address(opts.host, opts.port);

	this.client = {};
	this.remote = {};
{'fraction_non_alphanumeric': 0.18984838497033618, 'fraction_numerical': 0.0065919578114700065, 'mean_word_length': 4.440860215053763, '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': '7097573', 'n_tokens_mistral': 531, 'n_tokens_neox': 508, 'n_words': 132}