23. A method comprising: receiving a query string; generating a plurality of computer-generated images based on the query string, each of the plurality of computer-generated images being generated by varying a selected computer typographic font; training a model based on the plurality of computer-generated images in the different fonts; scoring candidate handwritten word images of a collection of handwritten word images using the trained model; and based on the scores, identifying a subset of the word images.
24. The method of claim 23 , further comprising identifying the set of fonts based on a precision of the set of fonts for retrieving word images which match at least one selected query string.