diff --git a/gilda/app/templates/ner_matches.html b/gilda/app/templates/ner_matches.html
index 94614a4..99caf6c 100644
--- a/gilda/app/templates/ner_matches.html
+++ b/gilda/app/templates/ner_matches.html
@@ -18,17 +18,20 @@
NER Results
Span |
+ Text |
Grounding |
- Name |
+ Standard name |
Score |
- Additional Groundings |
+ Additional groundings |
- {% for text, matches, start, end in annotations %}
+ {% for annotation in annotations %}
- {% set match_curie = matches[0].term.get_curie() %}
- {{start}}-{{end}} |
+ {% set match = annotation['matches'][0] %}
+ {% set match_curie = match.term.get_curie() %}
+ {{ annotation['start'] }}-{{ annotation['end'] }} |
+ {{ annotation['text'] }} |
{{ match_curie }}
|