NLP software for grouping characters into words?

I have some text generated by lousy OCR software.

The output contains mixture of words and space separated characters, which should have been grouped into words.
For example,

Expr e s s i o n Syntax

Is there some program runnable under Ubuntu which can help to group characters into words? Thanks.