Skip to content

NeedlemanWunch always >= 0.5 #4

@nsulikowski

Description

@nsulikowski

NeedlemanWunch("aaa", "bbb") returns 0.5. In fact, this function is always above or equal to 0.5

static NeedlemanWunch needleman_wunch = null;

public static double NeedlemanWunch(string firstWord, string secondWord)
{
    if (needleman_wunch == null) needleman_wunch = new NeedlemanWunch();
    return needleman_wunch.GetSimilarity(firstWord, secondWord);
}

ChatGPT found this: https://chatgpt.com/share/67e58f6b-61d0-8008-bb78-6169a1cbf7a6

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions