<commit_before><?php

namespace PHPPdf\Bridge\Markdown;

use PHPPdf\Parser\Parser;

class MarkdownParser implements Parser
{
    public function __construct()
    {
        if(!function_exists('Markdown'))
        {
            $markdownPath = __DIR__.'/../../../vendor/Markdown/markdown.php';
            if(file_exists($markdownPath))
            {
                require_once $markdownPath;
            }
            else
            {
                throw new \Exception('PHP Markdown library not found. Mabey you should call "> php vendors.php" command from root dir of PHPPdf library to download dependencies?');
            }
        }
    }
    
    public function parse($markdown)
    {
        return \Markdown($markdown);
    }
}<commit_msg>typo fix<commit_after><?php

namespace PHPPdf\Bridge\Markdown;

use PHPPdf\Parser\Parser;

class MarkdownParser implements Parser
{
    public function __construct()
    {
        if(!function_exists('Markdown'))
        {
            $markdownPath = __DIR__.'/../../../vendor/Markdown/markdown.php';
            if(file_exists($markdownPath))
            {
                require_once $markdownPath;
            }
            else
            {
                throw new \Exception('PHP Markdown library not found. Maybe you should call "> php vendors.php" command from root dir of PHPPdf library to download dependencies?');
            }
        }
    }
    
    public function parse($markdown)
    {
        return \Markdown($markdown);
    }
}
{'fraction_non_alphanumeric': 0.10365448504983389, 'fraction_numerical': 0.0, 'mean_word_length': 1.8631178707224334, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4220450', 'n_tokens_mistral': 417, 'n_tokens_neox': 395, 'n_words': 95}