{% extends "layout.html" %} {% block body %}
{% if nodes.sentence is none and nodes.phrases|length == 0 %}
No sentence or phrase left to label!
{% else %}
{% if nodes.sentence %}
You're going to label this sentence:
{{ nodes.sentence.text }}
What type of opinion does this sentence contain:
{% endif %} {% if nodes.phrases|length > 1 %}
Below please choose the sentiment expressed in the phrases/sentences:
-2 means negative, -1 means slightly negative, 0 means neutral, 1 means slightly positive, 2 means positive.
    {% for phrase in nodes.phrases %}
  • {{ phrase.text }}
  • {% endfor %}
{% endif %}
{% if nodes.sentence %} {% endif %}
{% endif %}
{% endblock %}