Neural networks for character recognition