{% extends "base.html" %} {% block head %} {% endblock %} {% block toolsnav %} {% endblock %} {% block toolsextra %} {% endblock %} {% block page %}
text-scans

{% if data == {} %}
I have no words for this.
{% else %} {% for word_type, ranking in data.items() %}

{{ word_type }}

{% for rank, words in ranking.items() %} {% for word in words.keys() %} {{ word }}{{ words[word]['count'] }} {% endfor %} {% endfor %}
{% endfor %} {% endif %}
{% if results == {} %}

{% else %}

{{ word }} ({{ word_type }})

{% for document, sentences in results['sentences'].items() %} {% for sentence in sentences %}
{{ sentence|markdown }} ({{ document }})
{% endfor %} {% endfor %} {% endif %}
{% endblock %}