annotation tools for making the iterations publication (Manetta & Jara) - https://iterations.space/
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.
38 lines
1001 B
38 lines
1001 B
5 years ago
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block head %}
|
||
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/text-scan.css')}}">
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block toolsnav %}
|
||
|
<a href="/"><button>⭠</button></a>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block toolsextra %}
|
||
|
<a href="/text-scans/"><button>text-scans</button></a>
|
||
|
<a href="/text-specifics/"><button style="color:magenta;">text-specifics</button></a>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block page %}
|
||
|
<div class="info">
|
||
|
<strong>text-specifics</strong>
|
||
|
<div>words with a TF-IDF score > 0.01</div>
|
||
|
<br>
|
||
|
<div>NOTE: the "specificity" scanning does not work when different languages are mixed</div>
|
||
|
</div>
|
||
|
<hr>
|
||
|
<div id="wrapper">
|
||
|
{% for filename in index.keys() %}
|
||
|
<div>
|
||
|
<h1>{{filename}}</h1>
|
||
|
{% if 'tfidf' in index[filename].keys() %}
|
||
|
{% for word, value in index[filename]['tf'].items() %}
|
||
|
{% if value > 0.01 %}
|
||
|
{{ word }}<sup>({{ value}})</sup><br>
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% endfor %}s
|
||
|
</div>
|
||
|
{% endblock %}
|