A Model-based Split-and-Merge method for Character String Recognition