MCPcopy Create free account
hub / github.com/FusionBrainLab/SONAR-LLM / evaluate_meteor

Function evaluate_meteor

evaluate_nlg.py:39–43  ·  view source on GitHub ↗

Return the METEOR score for a pair of strings.

(generated_text: str, reference_text: str)

Source from the content-addressed store, hash-verified

37
38
39def evaluate_meteor(generated_text: str, reference_text: str):
40 """
41 Return the METEOR score for a pair of strings.
42 """
43 return meteor_score([reference_text.split()], generated_text.split())
44
45
46# --------------------------------------------------------------------------- #

Callers 1

process_recordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected