You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Reading the Structure</title>
|
|
<meta charset="utf-8" />
|
|
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
|
|
<script type="text/javascript" src="jquery.min.js"></script>
|
|
<script type="text/javascript" src="script.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container"><p>
|
|
{% for item, value in words_and_tags.items() %}
|
|
|
|
<span id="{{item}}" class="wrapper {{ words_and_tags[item]['wordtype'] }} {{ words_and_tags[item]['sentiment'] }} {{ words_and_tags[item]['POS'] }}">
|
|
<span class ="tag wordtype invisible"> {{ words_and_tags[item]['wordtype'] }} </span>
|
|
<span class ="tag sentiment invisible"> {{ words_and_tags[item]['sentiment'] }}</span>
|
|
<span class ="tag pos invisible"> {{ words_and_tags[item]['POS'] }}</span>
|
|
<span class ="word {% if words_and_tags[item]['word'] in [',','.','(',')',';',':'] %} punctuation {% else %} {{ words_and_tags[item]['word'] }} {% endif %}"> {{ words_and_tags[item]['word'] }}</span>
|
|
</span>
|
|
|
|
{% endfor %}
|
|
|
|
</p></div>
|
|
|
|
<div class="action-container">
|
|
<p><a href="data.json" download>Export data as json</a> </p>
|
|
<p><a href="poster.pdf" download>Print this as a poster</a> </p>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|