Unconstrained Offline Handwriting Recognition using Connectionist Character N-gram