Word order in C language [closed]

1

I have to carry out a program that allows me to correct badly worded words that are inside a .txt file

Example:

Wrongly worded word in the .txt file: "hloa"

Word after being corrected: "hello"

I need some kind of guide because I do not know how to start.

Thanks in advance

    
asked by LaggerP 18.03.2017 в 22:02
source

1 answer

0

One possible solution is to make a table of errors, such as transposed or missing letters, to find the correct word. You need as a base a list of correct and frequent words . It is complicated that you are guaranteed that the correction will be grammatically or semantically correct, but you can list common mistakes without major problems as a first approximation. Stackoverflow.com has a very complete discussion on proofreaders

    
answered by 18.03.2017 в 22:43