{% extends "base.html" %} {% block gcontent %} {% if form is defined %} {{ render_ner_form(form) }} {% endif %}

{% if annotations %} Named Entity Recognition Results {% else %} No Results Found {% endif %}

{% if annotations %}
{% endif %}
{{ text | safe }}
{% if not annotations %}

No entities were recognized in the provided text. Please try a different text or adjust the species priority list if used.

{% endif %}
{% if annotations %} {% for annotation in annotations %} {% set match = annotation['matches'][0] %} {% set match_curie = match.term.get_curie() %} {% endfor %}
Span Text Grounding Standard name Score Additional groundings
{{ annotation['start'] }}-{{ annotation['end'] }} {{ annotation['text'] }} {{ match_curie }}   {{ match['term']['entry_name'] }} {{ match['score'] | round(3) }} {% for xref_curie, xref_url in match.get_grounding_dict().items() %} {% if xref_curie != match_curie %} {{ xref_curie }}   {% endif %} {% endfor %}
{% endif %}
{% if annotations %} {% endif %} {% endblock %}