<commit_before>{% extends "base.html" %}

{% block page_content %}

<h1>Dasem</h1>

<form>
  <input value="{{ q }}" name=q>
  <input type=submit value="search">
</form>

<h2>Results</h2>

<h3>DanNet synsets</h3>
{{ dannet_synset_table | safe }}

<h3>DanNet relations</h3>
{{ dannet_relations_table | safe }}

{% endblock %}

  <commit_msg>Add output from Wikipedia search<commit_after>{% extends "base.html" %}

{% block page_content %}

<h1>Dasem</h1>

<form>
  <input value="{{ q }}" name=q>
  <input type=submit value="search">
</form>

<h2>Results</h2>

<h3>Related Wikipedia titles</h3>

{% for article in semantic_related %}
<a href="https://da.wikipedia.org/wiki/{{ article }}">{{ article }}</a>
|
{% endfor %}


<h3>DanNet synsets</h3>
{{ dannet_synset_table | safe }}

<h3>DanNet relations</h3>
{{ dannet_relations_table | safe }}


{% endblock %}

  
{'fraction_non_alphanumeric': 0.20348837209302326, 'fraction_numerical': 0.020930232558139535, 'mean_word_length': 4.74, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 1, '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': '2205042', 'n_tokens_mistral': 360, 'n_tokens_neox': 335, 'n_words': 67}