<commit_before>var util = require('util');
var Writable = require('stream').Writable;
var unflat = require('./lib/unflat.js');
var unbox = require('./lib/unbox.js');


/**
 *
 * @param options
 * @constructor
 */
var ParseStream = function (endCallback) {
	Writable.call(this, {objectMode: true});

	this.endCallback = endCallback;

	this.on('finish', this.onEnd.bind(this))

}

util.inherits(ParseStream, Writable);

ParseStream.prototype.boxes = [];
<commit_msg>fixed box-concat bug in parse<commit_after>var util = require('util');
var Writable = require('stream').Writable;
var unflat = require('./lib/unflat.js');
var unbox = require('./lib/unbox.js');


/**
 *
 * @param options
 * @constructor
 */
var ParseStream = function (endCallback) {
	this.boxes = [];

	Writable.call(this, {objectMode: true});

	this.endCallback = endCallback;

	this.on('finish', this.onEnd.bind(this))

}

util.inherits(ParseStream, Writable);


{'fraction_non_alphanumeric': 0.17868675995694294, 'fraction_numerical': 0.0, 'mean_word_length': 4.77639751552795, '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': '7269679', 'n_tokens_mistral': 314, 'n_tokens_neox': 305, 'n_words': 62}