3 references to EqualWeights
Microsoft.Extensions.AI.Evaluation.NLP (1)
Common\BLEUAlgorithm.cs (1)
137
internal static readonly double[] DefaultBLEUWeights =
EqualWeights
(4);
Microsoft.Extensions.AI.Evaluation.NLP.Tests (2)
BLEUAlgorithmTests.cs (2)
148
double score = SentenceBLEU(references, hypothesis,
EqualWeights
(hypothesis.Count()));
158
double score = SentenceBLEU(references, hypothesis,
EqualWeights
(hypothesis.Count()));