3 instantiations of EditDistance
Microsoft.CodeAnalysis.Workspaces (3)
EditDistance.cs (1)
77using var editDistance = new EditDistance(source);
ExternalAccess\Pythia\Api\PythiaEditDistanceWrapper.cs (1)
15=> _underlyingObject = new EditDistance(str);
WordSimilarityChecker.cs (1)
71_editDistance = new EditDistance(text);
18 references to EditDistance
Microsoft.CodeAnalysis.Workspaces (6)
BKTree.Builder.cs (1)
194var editDistance = EditDistance.GetEditDistance(
BKTree.cs (1)
123var editDistance = EditDistance.GetEditDistance(
EditDistance.cs (2)
77using var editDistance = new EditDistance(source); 88throw new ObjectDisposedException(nameof(EditDistance));
ExternalAccess\Pythia\Api\PythiaEditDistanceWrapper.cs (1)
12private readonly EditDistance _underlyingObject;
WordSimilarityChecker.cs (1)
33private EditDistance _editDistance;
Microsoft.CodeAnalysis.Workspaces.UnitTests (12)
UtilityTest\EditDistanceTests.cs (12)
19var editDistance1 = EditDistance.GetEditDistance(s, t); 23var editDistance2 = EditDistance.GetEditDistance(t, s); 27var editDistance3 = EditDistance.GetEditDistance(s, t, editDistance1); 32var editDistance4 = EditDistance.GetEditDistance(s, t, editDistance1 - 1); 33Assert.Equal(EditDistance.BeyondThreshold, editDistance4); 108var editDistance = EditDistance.GetEditDistance("book", "moons", 1); 109Assert.Equal(EditDistance.BeyondThreshold, editDistance); 225var editDistance1 = EditDistance.GetEditDistance(source, target); 239var editDistance2 = EditDistance.GetEditDistance(source, target, editDistance1); 287var editDistance12 = EditDistance.GetEditDistance(string1, string2); 288var editDistance13 = EditDistance.GetEditDistance(string1, string3); 289var editDistance23 = EditDistance.GetEditDistance(string2, string3);