<commit_before>/*
Written by <NAME>
Copyright (c) 2010
http://github.com/greim
*/

// #############################################################################
// declare stuff

var HTTP  = require('http');
var URL   = require('url');
var MIME  = require('./lib/mime-types.js');
var HTS   = require('./lib/http-transaction-state.js');
var Q     = require('./lib/asynch-queue.js');
var RULES = require('./lib/rules.js');
var RDB   = require('./lib/rules-db.js');

var projectName = 'hoxy';
var proxyHost = 'localhost';
var proxyPort = 8080;

// done declaring vars
// #############################################################################
// create proxy server

function turl(url){
	if (url.length > 64) {
		var pUrl = URL.parse(url);
		var nurl = pUrl.protocol + '//' + pUrl.host;<commit_msg>removed ref to mime-types.js that was causing error<commit_after>/*
Written by <NAME>
Copyright (c) 2010
http://github.com/greim
*/

// #############################################################################
// declare stuff

var HTTP  = require('http');
var URL   = require('url');
var HTS   = require('./lib/http-transaction-state.js');
var Q     = require('./lib/asynch-queue.js');
var RULES = require('./lib/rules.js');
var RDB   = require('./lib/rules-db.js');

var projectName = 'hoxy';
var proxyHost = 'localhost';
var proxyPort = 8080;

// done declaring vars
// #############################################################################
// create proxy server

function turl(url){
	if (url.length > 64) {
		var pUrl = URL.parse(url);
		var nurl = pUrl.protocol + '//' + pUrl.host;
{'fraction_non_alphanumeric': 0.3439450686641698, 'fraction_numerical': 0.012484394506866416, 'mean_word_length': 4.30794701986755, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7596755', 'n_tokens_mistral': 510, 'n_tokens_neox': 474, 'n_words': 119}