various cross-reading prototypes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
564 B

{% extends "base.html" %}
{% block title %}{% endblock %}
{% block search %}
{% endblock %}
{% block results %}
<div id="mappings">
{% if mapping_type == 'tfidf' %}
{% for value, word in mappings %}
<strong class="query" style="font-size:{{ 100 + value }}%;"> <a href="/?q={{ word }}">{{ word }}</a> </strong>
{% endfor %}
{% else %}
{% for value, word in mappings %}
<strong class="query"> <a href="/?q={{ word }}">{{ word }}</a></strong> ({{ value }})<br>
{% endfor %}
{% endif %}
</div>
{% endblock %}
{% block suggestions %}
{% endblock %}