Text this: Pattern recognition in nanoscience, environmental engineering and archeology