{% comment %}
Given a TextSegment object in the context, with the name of segment
this will render the html of its text with all the metadata
{% endcomment %}
{% for rich_token in segment_rich_tokens %}
{% if rich_token.eo_ids %}
{% else %}
{% endif %}
{% if draw_postags %}
{{ rich_token.pos }}
{% endif %}
{{ rich_token.token }}
{% endfor %}