Skip to content

FuzzyEquals not working for hebrew charachters #5

@yosimaurer

Description

@yosimaurer

FuzzyEquals and FuzzyMatches does not work with hebrew charachters - and seem to ignore them.

However other fuzzy methods like DiceCoefficient work well.

sample code:

string str1 = "אבג";
string str2 = str1;

        Console.WriteLine(str1.FuzzyEquals(str2));
        Console.WriteLine(str1.FuzzyMatch(str2));

        str1 = "abc";
        str2 = str1;
        Console.WriteLine(str1.FuzzyEquals(str2));
        Console.WriteLine(str1.FuzzyMatch(str2));

Results:

False
-0.0625
True
0.999999

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions