Archived
Updated results and report
This commit is contained in:
@@ -47,7 +47,6 @@ public readonly struct ProcessorStat : IDistanceComparer<IEnumerable<string>>
|
||||
) / reference.Count;
|
||||
|
||||
Words = GetDistanceInfos(reference, hypothesis).ToArray();
|
||||
// Words = reference.Select(r => GetDistanceInfo(r, hypothesis)).ToArray();
|
||||
}
|
||||
|
||||
|
||||
@@ -66,8 +65,7 @@ public readonly struct ProcessorStat : IDistanceComparer<IEnumerable<string>>
|
||||
foreach (var reference in referenceCollection)
|
||||
{
|
||||
var tResults = hypothesisCollection
|
||||
.Select(hypothesis => new DistanceComparer<string>(reference, hypothesis))
|
||||
.Cast<IDistanceComparer<string>>()
|
||||
.Select(hypothesis => (IDistanceComparer<string>)new DistanceComparer<string>(reference, hypothesis))
|
||||
.ToList();
|
||||
|
||||
results.AddRange(tResults);
|
||||
|
||||
Reference in New Issue
Block a user