<commit_before><?php defined('BASEPATH') || exit('No direct script access allowed');

/**
 * @author <NAME> <<EMAIL>>, 2016
 * @license The MIT License, http://opensource.org/licenses/MIT
 */

class CI_Parser_twig extends CI_Parser_driver {

    protected $config;
    private $ci;

    public function initialize()
    {
        $php_min = '5.2.7';

        if (!is_php($php_min))
        {
            throw new Exception('CI_Parser_twig: Requires PHP '.$php_min.' or above.');
        }

        $this->ci = get_instance();

        // Default configuration options.

        $this->config = array(
            'charset' => null,
            'chache' => false,
            'full_path' => false,
        );

        if ($this->ci->config->load('parser_twig', TRUE, TRUE))
        {
            $defaults = $this->ci->config->item('parser_twig');<commit_msg>Fixing a typo.<commit_after><?php defined('BASEPATH') || exit('No direct script access allowed');

/**
 * @author <NAME> <<EMAIL>>, 2016
 * @license The MIT License, http://opensource.org/licenses/MIT
 */

class CI_Parser_twig extends CI_Parser_driver {

    protected $config;
    private $ci;

    public function initialize()
    {
        $php_min = '5.2.7';

        if (!is_php($php_min))
        {
            throw new Exception('CI_Parser_twig: Requires PHP '.$php_min.' or above.');
        }

        $this->ci = get_instance();

        // Default configuration options.

        $this->config = array(
            'charset' => null,
            'cache' => false,
            'full_path' => false,
        );

        if ($this->ci->config->load('parser_twig', TRUE, TRUE))
        {
            $defaults = $this->ci->config->item('parser_twig');
{'fraction_non_alphanumeric': 0.1589057043073341, 'fraction_numerical': 0.008149010477299184, 'mean_word_length': 2.1951672862453533, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 31, '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': '4438093', 'n_tokens_mistral': 538, 'n_tokens_neox': 513, 'n_words': 117}