Recognition of Arabic handwritten words using contextual character models | Synapse