<commit_before><ul>
{% for item in items %}
    <li>
    {% if item['@id'] as uri %}
        {% if
            (m.erfgoedthesaurus[uri].definition|filter:`language`:"dut"|first)
        as
            erfgoedthesaurus_definition
        %}
            {% with #list ++ forloop.counter as i %}
                <dl id="do_expand--parent-{{ i }}">
                    <dd class="do_expand" data-content="do_expand--content-{{ i }}" data-parent="do_expand--parent-{{ i }}">{{ item['rdfs:label'] }}</dd>
                    <dd id="do_expand--content-{{ i }}" class="do_expand--content">{{ erfgoedthesaurus_definition.value }} </dd>
                </dl>
            {% endwith %}
        {% else %}
            <li>
                {% include "collection/metadata/meta-link.tpl" href=item['@id'] content=item['rdfs:label']|default:item['@id']  %}
            </li>
        {% endif %}
    {% else %}
        {{ item['rdfs:label'] }}
    {% endif %}
    </li>
    {% endfor %}
</ul><commit_msg>[collection] Remove links to raw data<commit_after><ul>
{% for item in items %}
    <li>
    {% if item['@id'] as uri %}
        {% if
            (m.erfgoedthesaurus[uri].definition|filter:`language`:"dut"|first)
        as
            erfgoedthesaurus_definition
        %}
            {% with #list ++ forloop.counter as i %}
                <dl id="do_expand--parent-{{ i }}">
                    <dd class="do_expand" data-content="do_expand--content-{{ i }}" data-parent="do_expand--parent-{{ i }}">{{ item['rdfs:label'] }}</dd>
                    <dd id="do_expand--content-{{ i }}" class="do_expand--content">{{ erfgoedthesaurus_definition.value }} </dd>
                </dl>
            {% endwith %}
        {% else %}
            <li>{{ item['rdfs:label'] }}</li>
        {% endif %}
    {% else %}
        {{ item['rdfs:label'] }}
    {% endif %}
    </li>
    {% endfor %}
</ul>
{'fraction_non_alphanumeric': 0.20085015940488843, 'fraction_numerical': 0.0, 'mean_word_length': 1.8704268292682926, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '6719976', 'n_tokens_mistral': 650, 'n_tokens_neox': 594, 'n_words': 105}