How would you find the correct words in a long stream of characters?
Input :
\"The revised report onthesyntactictheoriesofsequentialcontrolandstate\"
Check spelling correction algorithm. Here is a link to an article on algorithm used in google - http://www.norvig.com/spell-correct.html. Here you will find a scientific paper on this topic from google.