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
NeedlemanWunch("aaa", "bbb")returns 0.5. In fact, this function is always above or equal to 0.5ChatGPT found this: https://chatgpt.com/share/67e58f6b-61d0-8008-bb78-6169a1cbf7a6