The evaluation metric to use. One of cosine
, fuzzy_match
, bleu
, gleu
,
meteor
, rouge_1
, rouge_2
, rouge_3
, rouge_4
, rouge_5
, or rouge_l
.
The text being graded.
Optional
nameThe name of the grader.
A float score where a value greater than or equal indicates a passing grade.
The text being graded against.
The type of grader.
A TextSimilarityGrader object which grades text based on similarity metrics.