<commit_before><?php

namespace Saft\Data;

use Saft\Rdf\StatementIterator;

interface SerializerInterface
{
    /**
     * Set the prefixes which the serializer can/should use when generating the serialization. Please keep in mind, that
     * some serializations don't support prefixes at all or that some implementations might ignore them.
     * @param $prefixes array An associative array with a prefix mapping of the prefixes. The key will be the prefix,
     *                        while the values contains the according namespace URI.
     * @return void
     */
    public function setPrefixes(array $prefixes);

    /**<commit_msg>Align naming of Serializer interface with filename<commit_after><?php

namespace Saft\Data;

use Saft\Rdf\StatementIterator;

interface Serializer
{
    /**
     * Set the prefixes which the serializer can/should use when generating the serialization. Please keep in mind, that
     * some serializations don't support prefixes at all or that some implementations might ignore them.
     * @param $prefixes array An associative array with a prefix mapping of the prefixes. The key will be the prefix,
     *                        while the values contains the according namespace URI.
     * @return void
     */
    public function setPrefixes(array $prefixes);

    /**
{'fraction_non_alphanumeric': 0.05927051671732523, 'fraction_numerical': 0.0, 'mean_word_length': 3.0523076923076924, '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': '5690666', 'n_tokens_mistral': 326, 'n_tokens_neox': 316, 'n_words': 148}