Fig. 4: Confusion matrices of Gemini’s performance in extracting detailed pathological N (pN) classification from pathology reports based on the cancer type and subcategories.

Confusion matrices of detailed pN classification performance extracted using Gemini from pathology reports of cervical (A), uterine corpus (B), and ovarian (C) cancers, including sub-classification. The vertical axis represents the ground truth obtained via visual inspection, and the horizontal axis shows the Gemini extraction results. The numbers in each cell indicate the number of applicable cases (n). N.S. Not specified.