Measuring diversity in medical reports based on categorized