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