Fig. 5

Example of Attentional Map: within each sentence in patient clinical reports, only the words identified as entities by the NER system, highlighted in yellow, are aggregated into the sentence embedding. These sentences receive a score assigned by the second attention layer (sentence level attention), with higher scores depicted in shades of red and lower scores tending towards blue. The text was translated from Italian to English for presentation purposes