TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

im trying to develop a layoutaware OCR system. I would like to unit test parts of the system by creating controlled random text using certain layouts. Afterwards the resulting images undergo controlled deterioration to emulate the scanning process. Since the random but known text will be available I would be able to train my layout/OCR system.

share|improve this question
I would create text with my favorite program, and then I would \input it with the corresponding command. – ASdeL Jan 14 '12 at 20:11
blindtext and kantlipsum produce text in English. – egreg Jan 14 '12 at 20:19
A newline-separated list of English words is available at freebsd.org/cgi/cvsweb.cgi/src/share/dict/web2, in case you need one. – Rob W Jan 14 '12 at 21:50

The Gutenberg project has piles of English text. It is not random but there is a lot of it.

share|improve this answer

You could give a try to Scott Pakin's automatic complaint letter generator. It's amazing and funny:



share|improve this answer
That is awesome! – mvarela May 30 '12 at 10:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.