<commit_before><?php

namespace Starmind\Pygments;

use Starmind\Pygments\Exception\CommandException;

/**
 * Wrapper for the pygmentize cli
 */
class Pygmentize
{
    protected $pygmentize;

    /**
     * @param string $pygmentize
     * @throws \InvalidArgumentException
     */
    public function __construct($pygmentize = '/usr/bin/pygmentize')
    {
        $exists = file_exists($pygmentize);
        if (! $exists || ($exists && ! is_executable($pygmentize))) {
            throw new \InvalidArgumentException(sprintf('pygmentize could not be found in %s', $pygmentize));
        }<commit_msg>removed check for is executable<commit_after><?php

namespace Starmind\Pygments;

use Starmind\Pygments\Exception\CommandException;

/**
 * Wrapper for the pygmentize cli
 */
class Pygmentize
{
    protected $pygmentize;

    /**
     * @param string $pygmentize
     * @throws \InvalidArgumentException
     */
    public function __construct($pygmentize = '/usr/bin/pygmentize')
    {
        if (! file_exists($pygmentize)) {
            throw new \InvalidArgumentException(sprintf('pygmentize could not be found in %s', $pygmentize));
        }
{'fraction_non_alphanumeric': 0.11739130434782609, 'fraction_numerical': 0.0, 'mean_word_length': 3.2472324723247232, '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': '6763083', 'n_tokens_mistral': 364, 'n_tokens_neox': 341, 'n_words': 78}