{% extends "base.html" %} {% block title %}Browse by Entity - {{ title }}{% endblock %} {% block body %}

Browse by Entity

🔍 Search Entities

{% if entities.by_type %}
{% for entity_type, entity_list in entities.by_type.items() %}

{% if entity_type == 'PERSON' %}👤 People {% elif entity_type == 'LOCATION' %}📍 Locations {% elif entity_type == 'ORGANIZATION' %}🏛️ Organizations {% elif entity_type == 'DATE' %}📅 Dates {% elif entity_type == 'MONEY' %}💰 Money {% elif entity_type == 'LEGAL_TERM' %}⚖️ Legal Terms {% elif entity_type == 'EVENT' %}📌 Events {% else %}🏷️ {{ entity_type }}{% endif %}

{% for entity in entity_list %}
{{ entity.text }} ({{ entity.count }} mentions)
{% for context in entity.contexts[:5] %}
{{ context.document }} {{ context.context }}
{% endfor %} {% if entity.contexts|length > 5 %}

... and {{ entity.contexts|length - 5 }} more mentions

{% endif %}
{% endfor %}
{% endfor %}
No entities match your search criteria.
{% else %}

No entities have been extracted yet. Run flatfish entities to extract entities from transcriptions.

{% endif %}
{% endblock %} {% block head %} {% endblock %} {% block scripts %} {% endblock %}