 Given templates matching typical letter shapes in a given language, individual letters can be identified with a high degree of probability.In cases of ambiguity, probable letter sequences can be compared with a selection of properly spelled words in that language (called a lexicon).If necessary, syntactic features of the language can be applied to render a generally accurate identification of the words in question.