Text this: A statistical approach to neural networks for pattern recognition