<commit_before>var exports = module.exports = {};

/*!
 * Pirater version
 */

exports.version = '0.1.0';

/*!
 * Configuration
 */

var config = require('./pirater/config');
exports.config = config;

/*!
 * Torrent
 */

var Torrent = require('./pirater/torrent');
exports.Torrent = Torrent;

/*!
 * User
 */

var User = require('./pirater/user');
exports.User = User;

/*!
 * Search
 */

var Search = require('./pirater/search');
exports.Search = Search;
<commit_msg>Don’t export classes, but export a simplified interface to search.<commit_after>var exports = module.exports = {};

/*!
 * Pirater version
 */

exports.version = '0.1.0';

/*!
 * Configuration
 */

var config = require('./pirater/config');
exports.config = config;

/*!
 * Search
 */

var Search = require('./pirater/search');
exports.search = function(query, callback) {
  new Search(query).results(callback)
};

{'fraction_non_alphanumeric': 0.1872871736662883, 'fraction_numerical': 0.00681044267877412, 'mean_word_length': 3.569948186528497, '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': '453751', 'n_tokens_mistral': 285, 'n_tokens_neox': 277, 'n_words': 62}