Measures summary quality by calculating the overlap of unigrams (individual words) between the generated and reference texts. It focuses on basic content coverage.
output
(str): The generated textexpectedOutput
(str): The reference textResult
(float): A score between 0 and 1.