Quantify the performance of an evaluation.
document
, summary
, expected_summary
as choices for comparison.
nltk.sentence_bleu
Non-configurable parameters:
0.25
for all n-grams
nltk.tokenize.word_tokenize
rouge_score.rouge_scorer
Configurable parameters:
score_types: List[str]
- defines which rouge-n metrics will be outputted. Defaults to ["rouge1", "rouge2", "rougeL"]
nltk.translate.meteor_score
Non-configurable parameters:
PorterStemmer
nltk.corpus.wordnet
alpha=0.9
, beta=3.0
, gamma=0.5
sklearn.metrics.pairwise.cosine_similarity
Non-configurable parameters:
sentence-transformers/all-MiniLM-L12-v2
nltk.tokenize.word_tokenize