Correcting words based on context

Lobe is a valid word, but incorrect in this context.

I lobe swimming -> I love swimming

Weighted edit distance

Use Weighted edit distance to get close dictionary terms.

Enumerate all possible phrases, with 1 word corrected.

Incorrect phrase:

"im a cloud"
"im a clown"
"Im a crown"

Biwords conjunction

Look for biwords that need only one term corrected.