10. The system of claim 9 , wherein the operation further comprises: displaying the multi-line text fragment in a multi-line user-interface (UI) element, wherein the multi-line text fragment is rendered in the font type and the font size for display in the multi-line UI element, wherein the multi-line text fragment is excerpted from a text passage; and capturing a preliminary image of the individual multi-line text fragment as displayed in the multi-line UI element.
10. The system of claim 9 , wherein the operation further comprises: displaying the multi-line text fragment in a multi-line user-interface (UI) element, wherein the multi-line text fragment is rendered in the font type and the font size for display in the multi-line UI element, wherein the multi-line text fragment is excerpted from a text passage; and capturing a preliminary image of the individual multi-line text fragment as displayed in the multi-line UI element. 12. The system of claim 10 , wherein the operation further comprises: identifying a width of the multi-line UI element; inserting, based on the width of the multi-line UI element, newline characters into the text passage such that each line of text in the text passage can be displayed in the multi-line UI element rendered in the font type and the font size without wrapping; and storing the text passage with the training data for optical character recognition.