<commit_before><?php

/**
 * Fuel Evernote Package
 * 
 * Inspired by <NAME>'s CodeIgniter Twitter library.
 *
 * @copyright  2013 <NAME>
 * @license    MIT License
 */

namespace Evernote;

class Evernote_Exception extends \Exception {}

class Evernote {
    
    
    /**
     * The list of loaded API instances
     *
     * @var array
     */
    private $apis = array();
    

	public function __construct()
    {
        $this->_init();
        
    }

	/**
	 * @var  string  $version  The current version of the package
	 */
	public static $version = '1.0';

	/**
	 * @var  Evernote_Oauth  $oauth  Holds the Evernote_Oauth instance.
	 */
	protected static $client = null;

	/**
	 * Creates the Evernote_Oauth instance
	 *
	 * @return  void
	 */
	public static function _init()
	{
		static::$client  = new \Evernote\Client();
	}

	/**<commit_msg>Add the list of Evernote allowed HTML elements<commit_after><?php

/**
 * Fuel Evernote Package
 * 
 * Inspired by <NAME>'s CodeIgniter Twitter library.
 *
 * @copyright  2013 <NAME>
 * @license    MIT License
 */

namespace Evernote;

class Evernote_Exception extends \Exception {}

class Evernote {
    
    
    /**
     * The list of loaded API instances
     *
     * @var array
     */
    private $apis = array();
    
    public $allowed_tags = array( 'a', 'abbr','acronym','address','area','b','bdo','big','blockquote','br','caption','center','cite','code','col','colgroup','dd','del','dfn','div','dl','dt','em','font','h1','h2','h3','h4','h5','h6','hr','i','img','ins','kbd','li','map','ol','p','pre','q','s','samp','small','span','strike','strong','sub','sup','table','tbody','td','tfoot','th','thead','title','tr','tt','u','ul','var', 'xmp');

	public function __construct()
    {
        $this->_init();
        
    }

	/**
	 * @var  string  $version  The current version of the package
	 */
	public static $version = '1.0';

	/**
	 * @var  Evernote_Oauth  $oauth  Holds the Evernote_Oauth instance.
	 */
	protected static $client = null;

	/**
	 * Creates the Evernote_Oauth instance
	 *
	 * @return  void
	 */
	public static function _init()
	{
		static::$client  = new \Evernote\Client();
	}

	/**
{'fraction_non_alphanumeric': 0.1837488457987073, 'fraction_numerical': 0.008310249307479225, 'mean_word_length': 3.1276190476190475, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3264901', 'n_tokens_mistral': 733, 'n_tokens_neox': 695, 'n_words': 165}