<commit_before>/*
nodeGaudi platform agnostic build tool.
Copyright 2014 <NAME>.

Gaudi implemented with Node.js

Released under the MIT/X11 License.
Please see LICENSE file.
*/

// Custom includes.
var g = require('./GenericFunctions.js');

// Node.js standard includes.
var fs = require('fs');

var NodeGaudiBase = exports;

// File writing operations
NodeGaudiBase.writeToFile = function(file, message, append) {
	if(!append) fs.writeFileSync(file, message);
	else fs.appendFileSync(file, message + "\n");
}<commit_msg>Update NodeGaudiBase.js<commit_after>/*
nodeGaudi platform agnostic build tool.
Copyright 2014 <NAME>.

Gaudi implemented with Node.js

Released under the MIT/X11 License.
Please see LICENSE file.
*/

// Custom includes.
var g = require('./GenericFunctions.js');

// Node.js standard includes.
var fs = require('fs');

var NodeGaudiBase = exports;

// File writing operations
NodeGaudiBase.writeToFile = function(file, message, append) {
	if(!append) fs.writeFileSync(file, message + "\n");
	else fs.appendFileSync(file, message + "\n");
}
{'fraction_non_alphanumeric': 0.1291234684260132, 'fraction_numerical': 0.011310084825636193, 'mean_word_length': 4.589473684210526, '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': '7446010', 'n_tokens_mistral': 345, 'n_tokens_neox': 324, 'n_words': 102}