4 references to Intersect
Microsoft.Extensions.AI.Evaluation.NLP (2)
Common\F1Algorithm.cs (1)
29MatchCounter<string> commonTokens = referenceTokens.Intersect(predictionTokens);
Common\GLEUAlgorithm.cs (1)
39MatchCounter<NGram<string>> overlapNGrams = hypNGrams.Intersect(refNGrams);
Microsoft.Extensions.AI.Evaluation.NLP.Tests (2)
MatchCounterTests.cs (2)
73MatchCounter<int> intersection = counter1.Intersect(counter2); 78intersection = counter2.Intersect(counter1);