<commit_before><?php

namespace CatLab\Charon\Laravel\InputParsers;

use CatLab\Charon\Collections\IdentifierCollection;
use CatLab\Charon\Collections\ResourceCollection;
use CatLab\Charon\Interfaces\Context;
use CatLab\Charon\Interfaces\InputParser;
use CatLab\Charon\Interfaces\ResourceDefinition;
use CatLab\Charon\Interfaces\ResourceTransformer;

/**
 * Class PostInputParser
 * @package CatLab\Charon\InputParsers
 */
class PostInputParser extends AbstractInputParser implements InputParser
{
    /**
     * Look for identifier input
     * @param ResourceTransformer $resourceTransformer
     * @param ResourceDefinition $resourceDefinition
     * @param Context $context
     * @return IdentifierCollection|null
     */
    public function getIdentifiers(
        ResourceTransformer $resourceTransformer,
        ResourceDefinition $resourceDefinition,
        Context $context
    ) {
        // TODO: Implement getIdentifiers() method.
    }

    /**
     * Look for
     * @param ResourceTransformer $resourceTransformer<commit_msg>Add possibility to add multiple input parsers.<commit_after><?php

namespace CatLab\Charon\Laravel\InputParsers;

use CatLab\Charon\Collections\IdentifierCollection;
use CatLab\Charon\Collections\ResourceCollection;
use CatLab\Charon\Interfaces\Context;
use CatLab\Charon\Interfaces\InputParser;
use CatLab\Charon\Interfaces\ResourceDefinition;
use CatLab\Charon\Interfaces\ResourceTransformer;

/**
 * Class PostInputParser
 * @package CatLab\Charon\InputParsers
 */
class PostInputParser extends AbstractInputParser implements InputParser
{
    /**
     * Look for identifier input
     * @param ResourceTransformer $resourceTransformer
     * @param ResourceDefinition $resourceDefinition
     * @param Context $context
     * @return IdentifierCollection|null
     */
    public function getIdentifiers(
        ResourceTransformer $resourceTransformer,
        ResourceDefinition $resourceDefinition,
        Context $context
    ) {
        // TODO: Implement getIdentifiers() method.
        return null;
    }

    /**
     * Look for
     * @param ResourceTransformer $resourceTransformer
{'fraction_non_alphanumeric': 0.0794392523364486, 'fraction_numerical': 0.0, 'mean_word_length': 3.9790697674418603, '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': '6125017', 'n_tokens_mistral': 572, 'n_tokens_neox': 554, 'n_words': 123}