Measures the accuracy of positive predictions by calculating the proportion of true positives among all predicted positives.
output
(str): The generated text (set of predicted positive items)expectedOutput
(str): The reference text (set of ground-truth positive items)Result
(float): A score between 0 and 1.