Skip to content

.NET library that provides utility for tasks such as decoding detection and Levenshtein distance calculation

License

Notifications You must be signed in to change notification settings

cschen1205/cs-text-utility

Repository files navigation

cs-text-utility

Install

Install-Package cs-text-utility

Usage

The sample code of usage below:

using System;
namespace TextUtility
{
    class Program
    {
        static void Main(string[] args)
        {
            string s1 = "Hello World";
            string s2 = "Hello. How are you?";
            Console.WriteLine("Distance: {0}", LevenshteinDistance.Compute(s1, s2));

            string original = s2;
            string encoded = TextUtil.EncodeTo64(original);
            Console.WriteLine("Encoded: {0}", encoded);
            Console.WriteLine("Decoded: {0}", TextUtil.DecodeFrom64(encoded));
        }
    }
}

About

.NET library that provides utility for tasks such as decoding detection and Levenshtein distance calculation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages