Coder Social home page Coder Social logo

fuzzystring's People

Contributors

brianfeucht avatar jpaugh avatar kdjones avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fuzzystring's Issues

Quick change to make this work in Unity

Hello,

Thanks for the package. It looks fantastic!

I haven't been working with this for more than 30 minutes, but I did import it into Unity, and the compiler immediately complained about the include line: using System.Threading.Tasks;

The full error was:
Assets/FuzzyString/ApproximatelyEquals.cs(5,24): error CS0234: The type or namespace name 'Tasks' does not exist in the namespace 'System.Threading'. Are you missing an assembly reference?

This is possibly because Unity is very strict about allowing any multithreading (though they're doing some great things with it via the new jobs system) and possibly because Unity uses an old version of C#.

Regardless, simply removing that include across all of the .cs files eliminated the error, and it seems from the lack of subsequent errors that maybe that include wasn't needed in the first place.

Just thought you might want to know in case other Unity users are eager to try FuzzyString.

Thanks,
-- Jeremy

fuzzyString.dll will not run

Got fuzzystring from a nuget image (Microsoft nuget market-place) and it will not run. Instead; when control falls to the .DLL it seems to become cyclic or the handle is lost.

Slow Running

Running the console program is extremely slow while comparing longer words separated with spaces.
The program has been running for over 20 minutes. I use a 2.80 GHz Intel Core i5 VPro processor which I think is quite fast enough to run that comparison within a second or two.

Is anybody else facing this issue?

Wrong example code on the main project page.

instead of
FuzzyStringComparisonTolerance tolerance = FuzzyStringTolerance.Strong;
bool result = source.ApproximatelyEquals(target, options, tolerance);

it should be:
FuzzyStringComparisonTolerance tolerance = FuzzyStringComparisonTolerance.Strong;
bool result = source.ApproximatelyEquals(target, tolerance, options.ToArray());

NuGet package

It would be great to have an actual NuGet repository, with up-to-date code. There is an existing one, but it is obviously out-of-date (the project link points to codeplex).

Jaro Distance Issues

Comparing the strings "united arab emirates" and "united arab emirates" (exactly the same string) results in a similarity of .6 which is definitely wrong. It also takes around 5 seconds to calculate. I would think that at the start of the method it should just check if the strings are equal and return 1 if it's true.
issue
issue2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.