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