many of the lab 's research books contained passages in ancient languages , and so trish was often asked to write specialized optical character recognition translation modules to generate english text from obscure languages .