{% 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 %}

  

{% extends "base.html" %}

{% block page_content %}

<h1>Dasem</h1>

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

<h2>Results</h2>


<div class="container" title="Most similar words according to Word2Vec on Danish Wikipedia">
  <h3>Similar words</h3>

  {% for word, similarity in w2v_similar %}
  <a href="?q={{ word }}">{{ word }}</a> |
  {% endfor %}
</div>

<div class="container">

  <h3>Related Wikipedia titles</h3>
  
  {% for article in esa_related %}
  <a href="https://da.wikipedia.org/wiki/{{ article }}">{{ article }}</a>
  |
  {% endfor %}
</div>

<div class="container">
  <h3>DanNet synsets</h3>
  {{ dannet_synset_table | safe }}
  
  <h3>DanNet relations</h3>
  {{ dannet_relations_table | safe }}
</div>

{% endblock %}

  

Add word2vec results and change styling
Add word2vec results and change styling
