StringSimilarities 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package StringSimilarities --version 1.0.0                
NuGet\Install-Package StringSimilarities -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StringSimilarities" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StringSimilarities --version 1.0.0                
#r "nuget: StringSimilarities, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install StringSimilarities as a Cake Addin
#addin nuget:?package=StringSimilarities&version=1.0.0

// Install StringSimilarities as a Cake Tool
#tool nuget:?package=StringSimilarities&version=1.0.0                

StringSimilarities

String similarities C# implementation

Algorithms

Current implementation uses Levenshtein distance. You can find more information about this here - Levenshtein distance

Tests - example

The tests cover basic behaviour

Problem explanation

Given an instance of IStringSimiliarities one can compute the percentage representing the similarities between two given (input) strings

Code example


IStringSimilarities stringSimilarities = new LevenshteinStringSimilarities();

var firstInputString = "someString";
var secondInputString = "someOtherString";

var result = stringSimilarities.DetermineSimilarities(firstInputString, secondInputString);

// result should be a percentace, in our case 0.2% similar.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 930 8/2/2018
1.0.0 765 7/31/2018

Current implementation uses Levenshtein distance.