NevronOpenVision
Nevron.Nov.DataStructures Namespace / NStringSet Class / GetSimilarStrings Method
The string to search similar strings for.
The string similarity context that provides information for the edit distance budget and the cost of the various edit operations.
GetSimilarStrings Method
Gets the subset of all strings in this set that are found to be similar to the given string using the specified string similarity context.
Syntax
public INSet<string> GetSimilarStrings( 
   System.string str,
   NStringSimilarityContext context
)

Parameters

str
The string to search similar strings for.
context
The string similarity context that provides information for the edit distance budget and the cost of the various edit operations.
Remarks
The similarity is determined by the edit distance (a.k.a. Damerau–Levenshtein distance) of the strings, i.e. the number of insertions, removals, substitutions and transpositions of adjacent characters needed to transform one of the strings to the other.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also