mik yaf 0 Newbie Poster

hey there,
i have been trying for sometime now to create a simply spellchecker using probabilities but i can't seem to get my head around it. i have a program which will read in a line of text and if a word is spelt wrong it will give you the correction which will basically be the first word in the dictionary beginning with that letter eg cra will give you cab instead of car. so if anyone has any help with how to code probabilities of the occurance of letters it'd but a great help!
thanks
mik yaf

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.