<commit_before><?php
require_once('lib/Config.php'); #TomConfig class - you can probably figure out what goes in here
require_once('lib/Database.php');
require_once('lib/OAuth.php');
require_once('lib/Twitter.php');
require_once('lib/Instagram.php');
#require_once('lib/GooglePlus.php');
require_once('lib/Rss.php'); # Blog related things

class Tom extends Database
{
	/**
	 * Debugging enabled - will display errors
	 */
	protected $_debug = true;

	/**
	 * Logging enabled - will log errors
	 */
	protected $_log = false;

	/**
	 * If logging enabled, the full filename and path of the log
	 */
	protected $_path = 'log/tom.log';

	/**
	 * The method which the API will listen for
	 */
	protected $_method = 'get';

	/**
	 * The result format returned by the API
	 */
	protected $_format = 'json';

	/**
	 * Determine if the API should store cache
	 */
	protected $_cache = true;

	/**
	 * If cache enabled, the method for which to store the data
	 * Supported: file | redis
	 */
	protected $_cacheType = 'redis';

	/**
	 * If file cache enabled, the file path
	 */
	protected $_cachePath = 'app/cache/';

	/**
	 * If cache enabled, the default cache lifetime
	 */<commit_msg>changing master to use filesystem for now<commit_after><?php
require_once('lib/Config.php'); #TomConfig class - you can probably figure out what goes in here
require_once('lib/Database.php');
require_once('lib/OAuth.php');
require_once('lib/Twitter.php');
require_once('lib/Instagram.php');
#require_once('lib/GooglePlus.php');
require_once('lib/Rss.php'); # Blog related things

class Tom extends Database
{
	/**
	 * Debugging enabled - will display errors
	 */
	protected $_debug = true;

	/**
	 * Logging enabled - will log errors
	 */
	protected $_log = false;

	/**
	 * If logging enabled, the full filename and path of the log
	 */
	protected $_path = 'log/tom.log';

	/**
	 * The method which the API will listen for
	 */
	protected $_method = 'get';

	/**
	 * The result format returned by the API
	 */
	protected $_format = 'json';

	/**
	 * Determine if the API should store cache
	 */
	protected $_cache = true;

	/**
	 * If cache enabled, the method for which to store the data
	 * Supported: file | redis
	 */
	protected $_cacheType = 'file';

	/**
	 * If file cache enabled, the file path
	 */
	protected $_cachePath = 'app/cache/';

	/**
	 * If cache enabled, the default cache lifetime
	 */
{'fraction_non_alphanumeric': 0.13417190775681342, 'fraction_numerical': 0.0, 'mean_word_length': 3.4432029795158288, 'pattern_counts': {'":': 0, '<': 5, '<?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': '713338', 'n_tokens_mistral': 753, 'n_tokens_neox': 695, 'n_words': 248}