Actually i want to find a probabilty of a name spelling wise e.g

Malik, Malique, Malick, Malik, Malicq, Malique, Malik, Malike, Maliqk, Maliq, Malik, Malick, Malik, Malique, Malik

now in above example the probability of "Malik" is high spelling wise that is 6

so is there any algorithm or logic for how can i find a probabilty of a name spelling wise

It seems like you're looking for a Soundex type of algorithm.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.